NCP Server for Linux provides the same file and directory trustee rights for both NSS and traditional Linux file systems. These are the same rights that exist for the NSS file system on NetWare. They include
NCP Server for Linux supports the same file and directory attributes for NSS on Linux as NSS on NetWare. These are the same attributes that exist for the NSS file system on NetWare. See the File Systems Management Guide for OES for information on NSS file and directory attributes.
The following file and directory attributes are supported for traditional Linux file systems on Linux.
Other NSS file and directory attributes are not supported on traditional Linux file systems.
Even though the other NSS file and directory attributes appear to be supported on traditional Linux file systems, and might also appear to be settable, those file and directory attributes are not supported, and will be ignored if files are accessed through NCP. For example, it might appear that you have set the copy inhibit attribute for a specific file, but that file can still be copied if it's accessed through NCP.
NOTE:File attribute and NCP support tend to get mixed together in the minds of NetWare administrators. It is important to remember that file and directory attributes are supported and enforced by the file system that underlies an NCP volume, not by the NCP server.
The NCPCON utility lets you view, add, or remove file and directory rights for both NSS and traditional Linux file systems.
To view file or directory rights, enter ncpcon at the Linux server console and then enter the following:
rights view path
Replace path with the directory path to the file or directory that you want to view trustee rights for. This lets you view the trustee assignments that have been specifically made for that file or directory. Effective rights are not displayed using this command.
To add file or directory rights, enter ncpcon at the Linux server console and then enter the following:
rights add path fdn mask
Replace path with the directory path to the file or directory that you want to add trustee rights to.
Replace fdn with the fully distinguished name of the user or object that you want to grant rights to.
Replace mask with the rights that you want to grant to the user or object.
For example, if you wanted to grant Read and File Scan rights to the users:bob directory for user Bob, and Bob's context is bob.acme, you would enter the following after starting the NCPCON utility:
rights add users:bob bob.acme RF
To remove file or directory rights, enter ncpcon at the Linux server console and then enter the following:
rights rem path fdn
Replace path with the directory path to the file or directory that you want to remove trustee rights from.
Replace fdn with the fully distinguished name of the user or object that you want to remove rights from.
For example, if you wanted to remove trustee rights to the users:bob directory from user Bob, and Bob's context is bob.acme, you would enter the following after starting the NCPCON utility:
rights rem users:bob bob.acme