gtpo1m60Operations

ZFILE mkdir-Make a Directory

Use this command to make a directory.

Requirements and Restrictions

Format




-m permission
is the permission setting for the new directory specified in octal notation. Specify this permission setting by adding the following values:

4000
has no effect on directories.

2000
sets the effective group ID (GID) of the process that executes the directory. If you set this value for a directory, all files created in that directory will have the same GID of that directory.

0400
allows the owner to read the directory.

0200
allows the owner to write to the directory.

0100
allows the owner to execute (or search) the directory.

0040
allows the group to read the directory.

0020
allows the group to write to the directory.

0010
allows the group to execute (or search) the directory.

0004
allows others to read the directory.

0002
allows others to write to the directory.

0001
allows others to execute (or search) the directory.

For example, to set the access permissions to allow the owner to read, write, and execute the directory, and to allow the group and others to read and execute the directory, specify 755 for permission.

Note:
You do not have to specify the leading zeros for the access permission values.

path
is the path name of the new directory.

Additional Information

Examples

In the following example, my.new.directory is created with search permission for the group.

+---------------------------------------------------------------------------------------------+
|User:   ZFILE mkdir 0010 my.new.directory                                                    |
|                                                                                             |
|System: FILE0003I 15:31:22 mkdir 0010 ... COMPLETED SUCCESSFULLY. NO OUTPUT TO DISPLAY       |
+---------------------------------------------------------------------------------------------+

Related Information