What are the required file ownerships and permissions of files in the $SPECROOT/SS directory on Linux and Solaris?

Document ID : KB000040898
Last Modified Date : 24/09/2018
Show Technical Document Details
Introduction:

QUESTION: Someone accidentally started the SpectroSERVER as the root user, now the file ownerships and permissions are preventing the user that owns the Spectrum installation from starting and stopping the SpectroSERVER.

What are the required file ownerships and permissions of files in the $SPECROOT/SS directory on Linux and Solaris?

 

ANSWER: All of the files in the $SPECROOT/SS directory should have the file and group ownership of the user that owns the Spectrum installation as specified during the Spectrum installation process. The ONLY file that should not be owned by the user that owns the Spectrum installation is the SpectroSERVER binary. The file owner should be "root" and the file group owner should be the same group as the user that owns the Spectrum installation. 

The file permissions on the SpectroSERVER binary should be "rwsr-x---"

The following is an example of the file ownerships and permissions of the $SPECROOT/SpectroSERVER binary:

 

-rwsr-x---.   1 root    spectrum     12841 Apr 12 16:08 SpectroSERVER

 

NOTE: You will notice the owner permissions on the SpectroSERVER binary are "rws". The "s" indicates the suid is enabled. This means that when the file is executed, it will run with the permissions of the owner of the file. In this case, the "root" user. This is required for the SpectroSERVER binary on Linux and Solaris. If the permissions on the SpectroSERVER binary are not "-rwsr-x---", enter the following command from the $SPECROOT/SS directory as the root user to set them:

 

chmod 4750 SpectroSERVER

Instructions:
Please Update This Required Field