On Mon, 22 Apr 2002, H. Peter Anvin wrote:

> Peter Toft wrote:
> > 
> > I have tried to read the README* files in the source 
> > without any luck. Could you guide me how to set this 
> > owner flag?
> > 
> > I have tried to add to /etc/auto.misc a line
> >   usb -fstype=auto,owner :/dev/sda1
> > but this will still leave /misc/usb owned by root:root
> > 
> 
> You probably need a newer version of mount.  This is a mount(8) issue,
> not autofs.

Well - this is Red Hat 7.3 beta #2.

> 
> > I can do the 
> >   usb -fstype=auto,uid=500,gid=500 :/dev/sda1
> > but this will only give user #500 the 
> > read/write-access. Assume that we like my wife, kid, 
> > and dog :) to have writeaccess - whoever mounts the 
> > device (typically a vfat formatted device).
> 
> You can do:
> 
>       gid=401,umask=007
> 

For the autofs with RH7.3 the umask does not seem to 
change anything. root is the master-owner :))

$ rpm -q autofs
autofs-3.1.7-28
mount-2.11n-12

> ... if you want; obviously gid 401 should be a group which includes all
> the people you trust to have such access.

That I understand

-- 
Peter Toft, Ph.D. [[EMAIL PROTECTED]] http://www.sslug.dk/~pto

"...... Those who want to get at the real guts of their machines
have already begun turning to Linux."
(IHT 29 oct 98)

Reply via email to