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-linux | Assignee: | 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: |
|
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. |
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: