The Trustee Rights Utility for Linux allows you to specify trustee rights for directories and files in NSS volumes on OES Linux. This utility does not provide support for Trustees on Linux file systems. It is also not meant to be used to set trustees for NSS volumes on OES NetWare. The trustee information is saved in the file and directory metadata in the NSS volume and works seamlessly with OES NetWare if the volume is moved to OES NetWare.
Use this utility at a workstation to
View or modify user or group rights for files
View or modify user or group rights for directories and volumes
rights [OPTIONS]
rights [TOPTIONS] trustee USERNAME
rights [DOPTIONS] delete USERNAME
rights [IOPTIONS] irf
rights [EROPTIONS] effective USERNAME
rights [SOPTIONS] show
The first argument indicates the action to be taken.
-f, --file=filename |
The name of file or directory to delete trustees from. Filename is the path for the file or directory. If a file or directory is not specified, the current directory is used. |
-f, --file=filename |
Specify the name of the file or directory to display a list of its trustees. If a file or directory is not specified, the current directory is used. |
The username is the fully distinguished name of an eDirectory object, including the tree name. For example: username.context.treename or joe.engineer.acme_tree.
If you use special characters in a username, you must escape those special characters in the command line. For example, the '$' is a special character reserved to the shell and must be escaped. For the bash shell, the command could be written in one of two ways on the command line:
rights -f /media/nss/DATA/stuff -r none \$j\$o\$e.engineer.acme_tree
rights -f /media/nss/DATA/stuff -r none '$j$o$e.engineer.acme_tree'
If you are using another shell, the special characters might need a different escape technique. In this case, please refer to the shell documentation for this information.
The mask is a string of characters, with each character representing a type of rights. The following table lists the rights, the letter to use for each right, and what the right is used for.
rights -f /designs/topsecret -r rwfc trustee joe.engineer.acme_tree
This command assigns Read, Write, File Scan, and Create rights to the /designs/topsecret directory for user joe in the engineer context of the acme_tree eDirectory tree.