PreviousNext

Deleting Directories

You may sometimes want to delete a directory from your namespace when the information that it contains is no longer needed by users. You must take two considerations into account when deleting a directory:

· Does the directory contain child directories or the entries for any other CDS object? Before a directory may be deleted, it must be empty.

· Are there any replicas of the directory? They must each be deleted separately.

Both of these considerations are discussed in following topics.

To delete a directory, you must have the following permissions:

· Delete permission to the directory.

· Write permission to the clearinghouse that stores the master replica of the directory.

· The server principal for the server from which you enter the directory delete command needs administer permission to the parent directory or delete permission to the child pointer that points to the directory you intend to delete.

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 acl show of the dcecp utility and verify that the server principal has the appropriate permissions. (See the OSF DCE Command Reference for complete information on the acl show command.)

More:

Deleting a Nonreplicated Directory

Deleting a Directory Replica