mount user option

David Rhodus drhodus at catpa.com
Tue Sep 23 06:35:39 PDT 2003


On Tuesday, September 23, 2003, at 09:09 AM, ibotty wrote:

this patch allows mount(8) to handle a 'user' option in fstab(5), as in
linux.
advantages:
 - user do not need to be able to write to the device to mount it.
 - no need for the vfs.usermount sysctl(8)
the attached patch has some drawbacks:
 1) /sbin/mount needs to be suid root.
 2) it byepasses vfs.usermount security checks.
 3) a user currently cannot umount the filesystem ;-p
These drawbacks listed are considerable. I think there will be a better
approach in a few weeks as work on the VFS subsystem finishes up.
With that noted the three drawbacks listed are very severe.
-DR






More information about the Submit mailing list