RIGHTS
View/modify user/group rights for files, directories and volumes.
Synopsis
RIGHTS path [[+ | -]
rights] [/option ... ] [/? |
/VER]
Description
Use RIGHTS at a workstation to:
-
view or modify user or group rights for files
-
view or modify user or group rights for directories and volumes
Options
- path
-
Specify the path to the file, directory, or volume you want to modify or
view rights to (you must always specify a path).
- + | -
-
Add or delete rights.
If you use ``+'' to add rights, the rights are added to existing
rights. If you use ``-'' to remove rights, the rights are deleted
from existing rights.
If you add and delete rights in the same command, group all added rights
together and all deleted rights together.
- rights
-
Specify one or more file or directory rights from the following:
- S (Supervisor)
-
Grant all rights to the file or directory.
- R (Read)
-
Allow user or group to open and read files in the directory.
- W (Write)
-
Allow user or group to open and write to files in the directory.
- C (Create)
-
Allow user or group to create files and subdirectories.
- E (Erase)
-
Allow user or group to erase files and directories.
- M (Modify)
-
Allow user or group to rename files and directories, and change file
attributes.
- F (File Scan)
-
Allow user or group to view and search on file and directory names in
the file system structure.
- A (Access Control)
-
Allow user or group to add and remove trustees and change trustee rights
to files and directories.
- N (No Rights)
-
Remove all rights.
- REM (Remove)
-
Remove the user or group as a trustee of the specified file or directory.
- ALL
-
Add all rights except Supervisor.
- /option
-
Specify one or more options from the following:
- /C
-
Scroll continuously through output.
- /F
-
View the Inherited Rights Filter (IRF).
- /Inherited
-
View the trustee and group rights that created the inherited rights, and
view where the inherited rights came from.
- /NAME=username
-
View or modify rights for the user or group listed. Replace username
with the name of the user or group whose rights you want to view or
modify.
- /Sub
-
View or modify subdirectories below the current level.
- /Trustee
-
View trustee assignments in a directory.
- /?
-
View online help. (Other parameters are ignored.)
- /VER
-
View the version number of the utility and the files it uses to execute.
(Other parameters are ignored.)
Usage
If you list rights without using + or -, the rights
you list replace existing rights.
You must specify a path. You can use a period to represent your current
directory.
You can use wildcard characters.
Examples
-
To set the trustee rights for user JANICE in the current
directory to Read, Write, and File Scan, type:
RIGHTS . R W F /NAME=JANICE
-
To remove user JACIE from ALICE/SYS:USERS, type:
RIGHTS ALICE/SYS:USERS -TRUSTEE /NAME=JACIE
-
To see where user PAT's inherited rights came from for
SYS:USERS/HOME, type:
RIGHTS SYS:USERS/HOME /NAME=PAT /I
-
To view online help for RIGHTS, type:
RIGHTS /?
Additional information
For more information on rights, see
``Setting up and managing NDS objects''.
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999