Patch-ID# 106142-01
Keywords: ACL umask mkdir
Synopsis: SunOS 5.6_x86: /usr/bin/mkdir patch
Date: May/12/98

Solaris Release: 2.6_x86

SunOS Release: 5.6_x86

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for SPARC as patch 106141

Topic: SunOS 5.6_x86: /usr/bin/mkdir patch

	NOTE :   To get the complete fix for 1237009 (users umask modifies
                 ACL's of new files under default ACL's) and 4073684 (mkdir
                 -p dir" and "mkdir dir" work differently in the presence
                 of default ACLs), we recommend installation of rev 05
                 (or greater revisions) of the kernel update patch 

			105182-05  kernel update patch

	         As a result of this fix for 1237009, the umask/ACL interaction  
		 has changed.  

                 Please refer to the paragraph under "Special Install Instructions" 
		 for additional information.

BugId's fixed with this patch: 1237009 4073684 

Changes incorporated in this version: 

Relevant Architectures: i386
NOTE:x86

Patches accumulated and obsoleted by this patch:  

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch:

/usr/bin/mkdir

Problem Description:

1237009 users umask modifies ACL's of new files under default ACL's
4073684 "mkdir -p dir" and "mkdir dir" work differently in the presence of default ACLs

Patch Installation Instructions: 
-------------------------------- 
Refer to the Install.info file within the patch for instructions on
using the generic 'installpatch' and 'backoutpatch' scripts provided
with each patch.  Any other special or non-generic installation
instructions should be described below.

Special Install Instructions: 
----------------------------- 

	NOTE :   To get the complete fix for 1237009 (users umask modifies
                 ACL's of new files under default ACL's) and 4073684 (mkdir
                 -p dir" and "mkdir dir" work differently in the presence
                 of default ACLs), we recommend installation of rev 05
                 (or greater revisions) of the kernel update patch.

			105182-05 	kernel update patch

	         As a result of this fix for 1237009, the umask/ACL interaction  
		 has changed.  

                 Please refer to the following paragraph for a revision to the
		 manpage for the command 'setfacl' which defines the new umask/ACL
                 interaction.

                 ************************************************************

                 A directory may contain default ACL entries.  If a  file
                 is created in a directory that contains default ACL entries,
                 the newly created file will have permissions generated
                 according to the intersection of the default ACL entries,
                 and the permissions requested at creation time.

                 The umask(1) will not be applied if the directory contains
                 default ACL entries. If a default ACL is specified for a
                 specific user (or users), the file will have a regular ACL
                 created;  otherwise, only the mode bits will be initialized
                 according to the intersection described above.  The default
                 ACL should be thought of as the maximum discretionary access
                 permissions that may be granted.

                *************************************************************
