Bug 58067 - Non-root user can umount partition when this is not permitted by fstab
Summary: Non-root user can umount partition when this is not permitted by fstab
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: util-linux
Version: 7.2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: Brian Brock
URL:
Whiteboard:
: 56593 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-01-07 18:36 UTC by Richard D. McRoberts
Modified: 2007-04-18 16:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-01-17 14:38:38 UTC
Embargoed:


Attachments (Terms of Use)
Showing ordinary unmounting a partition not allowed in fstab (1.26 KB, text/plain)
2002-01-07 18:38 UTC, Richard D. McRoberts
no flags Details

Description Richard D. McRoberts 2002-01-07 18:36:33 UTC
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):


How reproducible:
Always

Steps to Reproduce:
1.  Detailed in attachment
2 [details].
3.
	

Actual Results:  See attachment

Expected Results:  The ordinary user "peon" should not have been able to unmount the
partition.

Additional info:

Comment 1 Richard D. McRoberts 2002-01-07 18:38:00 UTC
Created attachment 41952 [details]
Showing ordinary unmounting a partition not allowed in fstab

Comment 2 Bernhard Rosenkraenzer 2002-01-17 14:38:32 UTC
Verified. Assigning to util-linux where mount lives these days.

Comment 3 Elliot Lee 2002-01-29 20:22:50 UTC
util-linux-2.11n-3 has a patch to fix this, and the upstream maintainer has
fixed it in his tree.

Comment 4 Elliot Lee 2002-01-29 21:36:48 UTC
*** Bug 56593 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.