Managing the NWS filesystem

Using NetWare only for file access control

When NetWare is selected as the mode for file access control, rights checking is the same as it is on native NetWare. NetWare Services checks that the user has NetWare rights to the file or directory and that the NetWare file and directory attributes allow the action. ``NetWare Security Checks'' illustrates this process.

NetWare Security Checks

If NetWare is the access control mode, the UnixWare permission bits are not checked at all. For client access, if files owned by Root are placed in the NetWare volume and NetWare rights allow the user to access the file, the user is allowed access.


NOTE: Remember that if the access control mode is NetWare, UnixWare file ownership and permissions are meaningless. UnixWare users creating files in NetWare volulmes may allow NetWare clients unintended access.

Trustee rights

NetWare must calculate a user's effective rights, or rights the user can exercise, to each file and directory. This is because effective rights are determined by a combination of the Inherited Rights Filter, trustee assignments, and security equivalences.

The following basic rules are used:

  1. NetWare Services compiles a list of object IDs for the user and the user's equivalencies (groups and other users).

  2. If the user is the NetWare administrator or equivalent, the user is granted all rights to the file or directory.

  3. NetWare Services scans up the tree from the node in question, looking for a trustee assignment granted to each object ID.

  4. If one of the object IDs has been granted the Supervisor right, the user is granted all rights to the file or directory.

  5. If the trustee assignment is for the node in question, the user is granted those rights.

  6. If the trustee assignments are above the node in question, NetWare Services checks that rights are on in the trustee assignments and the rights in the IRFs. NetWare Services then allows these rights to be used by the user.

    If multiple trustee assignments have been granted to an object ID in a branch of the tree, NetWare Services uses the trustee assignment closest to the node in question for all rights except the Supervisor right.

    NetWare Services searches to the root of the volume to verify whether the Supervisor right has been granted. Since the Supervisor right cannot be revoked except in the directory where it was granted, this right overrides trustee assignments in lower directories, as well as modifications to Inherited Rights Filters.

Volume, file, and directory attributes

NetWare Services has one volume attribute, Read-Only. It overrides any UnixWare permissions that would allow NetWare users to write to or create files in the volume.

NetWare has a number of file and directory attributes (Delete-Inhibit, Read-Only, Rename-Inhibit, and so on) which are enforced for NetWare users.

File access control utilities

Since only NetWare is used to control file access, all client access control must be set up with the NetWare utilities (such as NETADMIN, NetWare Administrator, FILER, RIGHTS, or FLAG for attributes). NetWare utilities should also correctly display the user's effective rights.


© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999