Technical data

CREATE DIRECTORY
CREATE DIRECTORY
Creates a directory within an existing UNIX container.
Applies to: NFS server
Related commands: DIRECTORY, REMOVE DIRECTORY
Format
CREATE DIRECTORY "/path/name"
[ /HOST=host ]
[ /[NO]LOG ]
[ /MODE=n ]
[ /UID=n ]
[ /USER_NAME=vms_user_name ]
Restrictions
Requires:
Read and write access to the parent directory.
SYSPRV or BYPASS privilege if you specify /USER_NAME with a name other
than your own.
The container file system must be mapped with the MAP command.
Parameters
"/path/name"
Required.
Name of the directory you want to create.
Qualifiers
/HOST=host
Optional. Default: Uses the first user name found.
If the proxy database has multiple entries with the same user name and UID
combination, the value of /HOST determines the specified record.
/LOG
/NOLOG
Optional. Default: Displays values for host, UID, GID, and user name.
Displays a full description of the specified proxy database record for you to
determine ownership (see /USER_NAME).
/MODE=n
Optional. Default: 755 (provides the following protection for owner, group, and
world: rwx-rx-rx).
UNIX protection of the new directory.
Specify octal values in the following order: for user, for group, for others. The
values are:
0 No access
Command Descriptions 2–29