9.11 Trustee Rights Utility for NetWare

The Trustee Rights Utility for NetWare allows you to specify trustee rights for directories and files in NSS volumes on OES NetWare.

9.11.1 Purpose

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

9.11.2 Syntax

RIGHTS path [[ + | - ] rights] [/option...] [/? | /VER]

Parameter

Use to

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 the specified rights. See Using RIGHTS.

rights

Specify one or more file or directory rights. See File and Directory Rights.

/option

Replace option with any available option. See RIGHTS Options.

/?

View online help. All other parameters are ignored when /? is used.

/VER

View the version number of the utility and the list of files it uses to execute. All other parameters are ignored when /VER is used.

RIGHTS Options

Option

Use to

/C

Scroll continuously through output.

/F

View the Inherited Rights Filter (IRF).

/I

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.

/S

View or modify subdirectories below the current level.

/T

View trustee assignments in a directory.

File and Directory Rights

The following table lists the rights, the letter to use for each right, and what the right is used for.

Right

Use to

S (Supervisor)

Grant all rights to the file or directory.

R (Read)

Open and read files in the directory.

W (Write)

Open and write to files in the directory.

C (Create)

Create files and subdirectories.

E (Erase)

Erase files and directories.

M (Modify)

Rename files and directories, and change file attributes.

F (File Scan)

View and search on file and directory names in the file system structure.

A (Access Control)

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.

9.11.3 Using RIGHTS

  • If you use + (plus) to add rights, the rights you list are added to the existing rights.

  • If you use - (minus) to remove rights, the rights you list are deleted from the existing rights.

  • If you add and delete rights in the same command, group all added rights together and all deleted rights together.

  • If you list rights without using + or -, the rights you list replace the existing rights.

  • You must always specify a path. You can use a period (.) to represent your current directory.

  • You can use wildcard characters.

9.11.4 Examples

  • To set the trustee rights in the current directory for user JANICE to Read, Write, and File Scan, enter

    RIGHTS . RWF /NAME=JANICE
    
  • To remove user ERNESTO as a trustee of SYS:USERS, enter

    RIGHTS SYS:USERS REM /NAME=ERNESTO
    
  • To see where user PATRICK’s inherited rights came from for SYS:USERS\HOME, type

    RIGHTS SYS:USERS\HOME /NAME=PATRICK /I