> I have a Windows 98 partition mounted on linux. The
> directory, /win98 on which I have done the mount is
> owned by me, as an ordinary user. However, I find that
> I cannot write to the partition except as root. Is
> there any way out, so that I do not need to su before
> writing?

I'm still very much a newbie so I could be totally off base
here.  I had a problem very similar to yours.  I set up a
local dos drive in fstab to be mounted.  And whenever it
was mounted, all the directories (and files) were owned as
root.  The way that I fixed that was to modify the entry in
fstab to read as such:

/dev/hdd1               /mnt/local_d            vfat    defaults,rw,gid=XXX,uid=XXX  0 0

so that it mounts the drive so it's own by group id XXX and 
user XXX and that did the trick.
If you are just using mount from the command line, there
are switches that do the above.

If a more experienced user knows a better way or can clarify
as to whether or not there are problems with this solution, I'd
be very happy to hear it!

Christoph


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to