Red Hat Bugzilla – Bug 836174
oddjobd-mkhomedir.conf -- unexpected directory permissions with explicit umask
Last modified: 2017-12-06 06:51:03 EST
Description of problem:
Setting umask in oddjobd-mkhomedir.conf yields only partial results:
Version-Release number of selected component (if applicable):
How reproducible: unknown, tested on single system only.
Steps to Reproduce:
1. Install system
2. configure system to use LDAP for account info
3. configure to use sssd & oddjob-mkhomedir
Umask setting in oddjob-mkhomedir.conf yields following test results:
The mystery permission inheritance seems to be from /etc/skel. Modifying /etc/skel permissions was a work-around for us to get the desired permissions for home accounts.
The permissions on the newly-created files and directories generally mimic those of the source directories in /etc/skel. The umask controls which permission bits are removed when determining permissions for the newly-created files and directories.
If we set them all to match the umask value (or rather, 0777 with the umask's bits removed), then it wouldn't be possible to vary the permissions of individual files or directories in the skeleton directory.
I'm inclined to mark this won't-fix as a result.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.
The official life cycle policy can be reviewed here:
This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: