Why does mkdir parent option (-p) doesn't use default umask for creating all folders

Solution Unverified - Updated -

Issue

  • Unexpected behavior of mkdir in following scenario, when default acl is set
# mkdir -p directory name/sub-directory name
# mkdir directory name/sub-directory name
  • When default acl is set, mkdir parent option doesn't use default umask for creating all folders unlike with RHEL 7

Environment

  • Red Hat Enterprise Linux 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content