[Top] [Prev] [Next]


mkdir - make a directory


mkdir dirname...


The mkdir command creates the specified directories. It requires write permission in the parent directory.

The new directories are created with permissions starting with 8r777 but masked with the permissions of the parent directory according the to formula given in open. This has the effect of capping the permissions of the newly created directories by those of the parent directory. For example, if the parent directory lacks write permission for group and all permissions for 'other', then so will the newly created directory.


A warning message is generated if a directory of the specified name already exists. Execution continues for the remaining names in the argument list, if any.

See Also

chmod, rm and open

[Top] [Prev] [Next]

Copyright © 1996,Lucent Technologies, Inc. All rights reserved.