OSF DCE Administration Guide--Core Components
OSF DCE Administration Guide—Core Components
18.1.1 Permissions for Creating a Directory
To create a directory, you need the following permissions:
• Insert permission to the parent of the new directory.
• Write permission to the clearinghouse that stores the master replica of the new
directory.
• The server principal for the server system where you enter the DCE control
program’s (dcecp) directory create command must have read and insert permissions
to the parent directory of the new directory.
If the server is included in the server authorization group subsys/dce/cds-servers,
these permissions should already be in place. If in doubt, use the dcecp acl show
command on the parent directory to verify that the server principal has the
appropriate permissions. (See the acl(8dce) reference page for more information on
arguments to the acl show command.)
18.1.2 Entering the directory create Command
Use the directory create command to create a new directory (master replica) with the
name that you specify. When you use this command, CDS, by default, stores the master
replica of the new directory in the same clearinghouse that stores the master replica of
the new directory’s parent directory.
For example, to create a directory named /.:/sales and store the master replica of the new
directory in the root directory’s initial clearinghouse, you enter the following command:
dcecp> directory create /.:/sales
Note: For the directory creation to succeed, the master replica of the new
directory’s parent directory must be available when you enter the
command.
You can use the directory create command’s -clearinghouse option to store the master
replica of a new directory in a different clearinghouse than the parent directory’s
clearinghouse. For example, to place the new directory created in the previous example
into another clearinghouse (/.:/Chicago1_CH), you would enter the following command:
dcecp> directory create /.:/sales -clearinghouse /.:/Chicago1_CH
(See the directory(8dce) reference page for complete information on arguments and
options to the directory create command.)
18 − 2 Tandem Computers Incorporated 124243