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.

> 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

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

        -hpa


Reply via email to