You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

NMIS8 Unix File Permissions

Make nmis user and group own all the files.

# chown -Rv nmis:nmis <nmisdir># chmod -Rv g+w <nmisdir>

If you decide on a different user and group name, update the NMIS Configuration Config.nmis accordingly.

One of the joys of Unix is granular file permissions, one of the frustrations of Unix is granular file permissions.  To assist we have added a handy script in the admin directory <nmisdir>/admin/fixperms.pl which will read the NMIS Configuration and fix the permissions accordingly.

/usr/local/nmis8/admin/fixperms.pl

Sample output from fixperms.pl command

This script will fix the permissions for NMIS based on the configuration /usr/local/nmis8/admin/../conf/Config.nmis
The directory to be processed is: /usr/local/nmis8
The user will be set to: nmis
The group will be set to: nmis
  • No labels