Bug 58067

Summary: Non-root user can umount partition when this is not permitted by fstab
Product: [Retired] Red Hat Linux Reporter: Richard D. McRoberts <rdm>
Component: util-linuxAssignee: Elliot Lee <sopwith>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-17 14:38:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Showing ordinary unmounting a partition not allowed in fstab none

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. ***