Bug 999625 - mount does not appear to be correctly documented for default mount options
Summary: mount does not appear to be correctly documented for default mount options
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: util-linux-ng
Version: 6.4
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Karel Zak
QA Contact: Branislav Blaškovič
URL:
Whiteboard:
Depends On:
Blocks: 1131523
TreeView+ depends on / blocked
 
Reported: 2013-08-21 17:58 UTC by Scott McCarty
Modified: 2018-11-06 10:55 UTC (History)
2 users (show)

Fixed In Version: util-linux-ng-2.17.2-12.16.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1131523 (view as bug list)
Environment:
Last Closed: 2014-10-14 07:34:32 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1545 0 normal SHIPPED_LIVE util-linux-ng bug fix and enhancement update 2014-10-14 01:21:29 UTC

Description Scott McCarty 2013-08-21 17:58:51 UTC
Description of problem:

The default behavior of mount does not appear to be correctly documented for to "acl" option. It appears the acl option is set by default. Also, there is third party documentation (Michael Jang's book to study for the RHCSA) that documents incorrectly that the "acl" option must be specified. This is not a critical flaw, but it does cause confusion for users studying for the RHCSA. Updating the man page would probably be the easiest resolution.

       defaults
              Use default options: rw, suid, dev, exec, auto, nouser, async, and relatime.

Version-Release number of selected component (if applicable):


How reproducible:

   Very reproducable

Steps to Reproduce:
1. cd /root
2. setfacl -m u:smccarty:r install.log
3. getfacl install.log

Actual results:

# file: install.log
# owner: root
# group: root
user::rw-
user:smccarty:r--
group::r--
mask::r--
other::r--

Expected results:

setfacl -m u:smccarty:r install.log
setfacl: install.log: Operation not supported

or update the man page


Additional info:

Comment 4 Karel Zak 2014-06-12 09:38:35 UTC
Note that 'acl' is not VFS mount option (generic mount option), so it does not make sense to add it to the description for the 'default'. 

The 'acl' is filesystem specific and it's enabled pre-filesystem (for example according to info in FS superblock). See for example for extN:

# tune2fs -l /dev/sda4 | grep options
Default mount options:    user_xattr acl

I have added a hint about this to the mount.8 man page rathe than hardcode anything about 'acl' there.

Comment 7 errata-xmlrpc 2014-10-14 07:34:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1545.html


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