[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [users] Harddrives not mounting properly



On Sun, Jul 08, 2001 at 01:35:44AM +0200, Martin F. Krafft wrote:
> also sprach Bart Szyszka (on Sat, 07 Jul 2001 07:28:50PM -0500):
> > On my computer I have root of course and then a normal user. If I go to
> > /wind as a normal user and try to delete a file, it gives me a permission
> > denied error. If I try creating a file, I get an error too. Given the above lines,
> > why am I having these problems? 
> 
> read the mount manpage, then check out the options uid= gid= and
> umask= options for the fat file system.
> 
> FAT knows no permissions, so all linux can do is mount a partition
> with all the same permissions. if you pass in an option umask=111, then
> everyone should be able to read and write on that partition. just be
> careful!

You may also 

 addgroup dos
 grep dos /etc/group  # say it is 123

Then put these options in /etc/fstab:

 rw,gid=123,umask=002,mode=770

For any $user that is allowed write access:

 adduser $user dos

After that, $user must login again or newgrp for
the group membership to become effective.

Cheers,


Joost



Reply to: