You are not logged in.
Pages: 1
Is it possible to allow users to call "umount" on drives that were mounted with autofs? I have the following rules:
cdrom -fstype=iso9660,ro,users,nodev,nosuid :/dev/cdrom
floppy -fstype=auto,async,users,nodev,nosuid,umask=000 :/dev/fl
usb -fstype=auto,async,users,nodev,nosuid,umask=000 :/dev/sdb1
I am under the impression that if I mount with option "users", then users can umount the drives. However, that option does not actually seem to be used. Any ideas on how I can allow my users to umount these drives?
Offline
i think it is called user, not users
Offline
Nope. From `man mount':
users: Allow every user to mount and unmount the file system. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line users,exec,dev,suid).
...
Only the user that mounted a filesystem can unmount it again. If any user should be able to unmount, then use users instead of user in the fstab line. The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.
Offline
Pages: 1