Hello,

I would like to use autofs for mounting local vfat file systems residing
on removable media such as floppies or zip disks.

Once mounted the file system should be seen as owned by the user who
attempted to access this file system, not by the super user. 

Without autofs, the above result is obtained by putting the option
'suid' in /etc/fstab, like in the following entry:

/dev/fd0 /mnt/floppy vfat user,noauto,suid 0 0

Expecting to obtain the same result with autofs, I put the following
entry in /etc/auto.misc:

floppy -fstype=vfat,suid :/dev/fd0 
 
However, when an ordinary user executes 'ls -l /misc/floppy' all files
and directories on the floppy are listed as owned by root, not by this
user.

Apparently autofs executes mount with the real id. of root, where I
would expect that it executes mount with the real id. of the end user.

Am I right ? Does anybody know how to obtain the right behavior (file
system mounted as owned by the user not by root) ?

Thanks in advance for any advice.

Pierre
-- 
________________________________________________________________________
Pierre HABRAKEN - mailto:[EMAIL PROTECTED]
T�l: 04 76 82 72 48 - Fax: 04 76 82 72 87
IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex
________________________________________________________________________

Reply via email to