DragonFly BSD
DragonFly submit List (threaded) for 2003-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: mount user option


From: David Rhodus <drhodus@xxxxxxxxx>
Date: Tue, 23 Sep 2003 09:34:01 -0400


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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]