Hello Harry,

> When umounted `chown reader.reader /mnt/dos1' does what you'd expect but
> when remounted it reverts back to root root.  On the 6.2 machine the
> directory stays chowned mounted or not.

 I am under the impression that you are confusing some things here. Since you 
use the "user" option, as soon as you mount a vfat partition, the directory 
under which it is mounted changes owner and group, according to the user that 
mounts the directory. So if you mount it as root it changes owner and group to 
root. If you mount it as harry it changes owner and group to harry (assuming 
you use user groups as the default RedHat behaviour is). I don't have 6.0 
running here anymore - I use 6.1 and 6.2 - so I can't check this, but I think 
the error is yours ;).

> The fstab entry looks like this:
> /dev/hda1  /mnt/dos1  vfat  noauto,user,dev,exec,suid,rw,perm=664,quiet  0 0

 Hm, never heard of the option "perm". What you might be looking for is the 
option "umask", which is something of the reverse of the allowed permissions. 
On your system the standard user mask is probably 022 (set in /etc/profile), 
which results in permissions 755. So if you mount the directory as root, other 
users can only read and execute the directory. Setting "umask=000" where you 
have "perm=664" will result in all users being able to read, write and execute 
the mount, independent of the user mounting it.

> `man fstab' is right on the borderline between just useless and
> utterly useless for this.

 Well, I guess you should try "man mount" for this.

                                Hope this helps,

                                Leonard.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to