Accessing NetWare volumes from UnixWare

Determining ownership of existing files and directories

When you look at the ownership and permissions of an existing file or directory in NetWare mode, the NUC NLM uses the following procedure to determine the login and group IDs to display as the owner login and group IDs.


NOTE: Accurate ownership presentation in NetWare (and UNIX) modes depends on the existence of accurate mapping files of UnixWare users and groups to NetWare users and groups. See ``Name mapping files''.

To determine ownership, do the following:

  1. NUC NLM checks to see if the NetWare login ID you used to authenticate to the server has the Access Control effective right on the file or if it is the NetWare owner of the file.

    If both of the above conditions are not met, go to Step 2.

    If either of the above conditions is met, then NUC NLM does the following and stops the procedure now:

  2. NUC NLM checks the NFSUSERS file to see if the UnixWare login ID you used to log in to UnixWare has an entry.

    If UnixWare login ID has an entry in NFSUSERS and the NetWare login ID in the entry matches the NetWare login ID you used to authenticate to the server, then the login ID nobody is used as the owning login ID.

    If UnixWare login ID has an entry in NFSUSERS and the NetWare login ID in the entry does not match the NetWare login ID you used to authenticate to the server, then the UnixWare login ID is used as the owning login ID.

    If UnixWare login ID does not have an entry in NFSUSERS, then login ID 0 is used as the owning login ID.

  3. NUC NLM checks the PASSWD file for an entry that matches the UnixWare login ID you used to log in to UnixWare.

    If it finds one, it uses the group ID from the entry in the next step.

    If it does not find an entry, it uses the group ID 0 in the next step.

  4. NUC NLM checks the NFSGROUP file for an entry matching the group ID from Step 3.

    If the NetWare login ID you used to authenticate to the NetWare server does not belong to the NetWare group from the NFSGROUP file, go to Step 5.

    If the NetWare login ID you used to authenticate to the NetWare server belongs to the NetWare group from the NFSGROUP file, then your UnixWare primary group ID is displayed as the owner group ID, and this procedure stops now.

  5. If the group ID from Step 3 (that is, from the PASSWD file) matches the UnixWare primary group ID for your current login session, then the group ID nobody is displayed as the owner group ID. Otherwise, the group ID from the PASSWD file (Step 3) is displayed as the owner group ID.

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