Red Hat Bugzilla – Bug 58067
Non-root user can umount partition when this is not permitted by fstab
Last modified: 2007-04-18 12:38:54 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226
Description of problem:
In /etc/fstab the partition has the "owner" option but NOT user.
The ordinary user does NOT own the device file as the manpage mount(8)
specifies as being required for "owner" to work. Only root can mount
the partition, but an ordinary user can umount it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Detailed in attachment
Actual Results: See attachment
Expected Results: The ordinary user "peon" should not have been able to unmount the
Created attachment 41952 [details]
Showing ordinary unmounting a partition not allowed in fstab
Verified. Assigning to util-linux where mount lives these days.
util-linux-2.11n-3 has a patch to fix this, and the upstream maintainer has
fixed it in his tree.
*** Bug 56593 has been marked as a duplicate of this bug. ***