![]() |
![]() |
The set access command gives users at other nodes access to your backup versions, archived copies, or backup images. You can give another user access to a specific file or image, multiple files or images, or all files or images in a directory. When you give access to another user, that user can restore or retrieve your objects. Specify in the command whether you are giving access to archives or backups.
Supported Clients
This command is valid for all UNIX clients.
Syntax
>>-SET Access--+- Archive-+--+- filespec-+-- node--+-------+----> '- Backup--' '-image-fs--' '- user-' >--+--------------+-------------------------------------------->< | .----------. | | V | | '--- options-+-'
Parameters
If you give access to a branch of the current working directory, you only need to specify the branch. If you give access to objects that are not in a branch of the current working directory, you must specify the complete path. The file spec to which you gave access must have at least one backup version or archive copy object (file or directory) on the server.
To give access to all objects below a certain level, use an asterisk, directory delimiter, and an asterisk at the end of your file spec. For example, to give access to all objects below home/test, use file spec home/test/*/*.
To specify all files or images in a named directory, enter home/mine/proj1/* on the command line. To specify all files or images in all directories off of the root directory, enter /*/* on the command line. Enter /* on one set access command and /*/* on another if you want another user to have complete access to all of your files. The first /* gives access to all subdirectories and all files or images off of the root directory.
Examples
Command: set access backup /home/user/budget node_2
Command: set access archive "/home/devel/proja/*.c" node_3
Command: set ac archive /home/devel/proja/ node_3
Command: set ac b "{project}/*" "*bldgb"
Command: set acc backup "home/devel/proja/*/*" node_5 serena