PreviousNext

create directory(8cds)

Creates a directory

Synopsis

cdscp create directory directory-name
[clearinghouse clearinghouse-name]

Arguments

directory-name
The full name of the directory

clearinghouse clearinghouse-name
The name of the clearinghouse in which you create the directory.

Description
The create directory command creates a directory with the name that you specify. If you do not specify a clearinghouse, CDS creates the master replica of the directory in the same clearinghouse as the new directory's parent directory.

Privileges Required
You must have the following permissions in order to create a directory:

· r (read) and i (insert) permission to the parent directory;

· w (write) permission to the clearinghouse in which the master replica of the new directory is to be stored.

In addition, the server principal must have r (read) and i (insert) permission to the parent directory.

Notes
To ensure that all replicas are consistent, perform an immediate skulk of the parent directory after issuing this command.

This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.

Examples
The following command creates a directory named /.:/sales.

cdscp> create directory /.:/sales

Related Information
Commands:

delete directory(8cds)
list directory(8cds)
set directory(8cds)
set directory to skulk(8cds)
show directory(8cds)