Each user on NetWare is given a set of rights and has to work under these restrictions. It is one way by which NetWare protects your directories and files. Any operation, like copying, creating or deleting files, is controlled by these rights. They are given to you when your login is created by the supervisor, and are referred to as trustee rights. By default, on creation, all user logins belong to the group EVERYONE. You may also be made part of other user groups and hence inherit all the rights assigned to these groups. Apart from this, like every other user, you are given a special directory where you are assigned very special rights. Ordinary users will not have any rights in this directory and the subdirectories created therein by you.
The Table lists some important trustee rights available on NetWare.
Rights | Code | Description |
Read | R | Allows the reading and execution of files |
Create | C | Allows the creation of directories and files |
Write | W | Allows the modification of the contents of files |
Erase | E | Allows the deletion of files and the removal of directories |
Modify | M | Allows the changing of attributes and the renaming of files and directories |
File Scan | F | Allows the viewing of file names with the DIR command |
Access Control | A | Allows the user to grant/revoke rights to/from other users |
Selective List of Trustee Rights available on NetWare.
How do you find out the rights you possess for a particular directory? The answer lies in the NetWare command RIGHTS, for which the syntax is:
RIGHTS [path]
If a path is not specified along with the RIGHTS command, NetWare assumes that you want to see your rights in the current directory. Your rights are displayed in the format shown in Figure.
You can specify a path as well as a volume name along with the RIGHTS command. For example, if you want to see your rights of the directory GAMES on the volume VOL2, you can give the command
RIGHTS V0L2:GAMES
If you map drive J: onto the GAMES directory of the volume VOL2, you can save yourself the trouble of typing the volume and directory names by replacing them with the drive name as given below.
RIGHTS J:
The RIGHTS command also lets you see the rights you possess for a specific file. To view your rights for the file WIN.EXE, you can give the command
RIGHTS WIN.EXE
A cumulative list of all your rights in all the directories and subdirectories can be seen using the WHOAMI command with the /R option. The output would be as in Figure.
NIIT\SYS:USERS\ESG\FFC |
Output of the RIGHTS Command
You are user USER1 attached to server NIIT, Connection 9 |
Output of WHOAMI /R Command