NUC NLM uses exactly the same procedures to determine ownership on a UNIX mode volume as on a NetWare mode volume, with one exception that occurs when determining ownership on an existing file.
See ``Determining ownership on creation'' for a description of the procedure used to determine the ownership assigned to new files in both NetWare and UNIX modes.
See ``Determining ownership on existing UNIX mode files and directories'' for the procedure used to determine how ownership is displayed on UnixWare for existing files and directories.
When you look at the ownership and permissions of an existing file or directory in UNIX mode, the NUC NLM uses the following procedure to determine the login and group IDs to display as the owner login and group IDs.
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''.
If either of the above conditions are not met, go to Step 2.
If both of the above conditions are met, then NUC NLM does the following and stops the procedure now:
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.
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.
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.