Create a directory with an API

When you create a directory by using the mkdir() API, you specify the data authorities for the owner, the primary group, and public (using the authority map of *R, *W, and *X).

The system uses the information in the parent directory to set the object authorities for the owner, primary group, and public. Because UNIX-type operating systems do not have the concept of object authorities, the mkdir() API does not support specifying object authorities. If you want different object authorities, you can use the iSeries™ server command, CHGAUT. However, when you remove some object authorities, the UNIX-like application might not work as you expect it to work.