To remove world permissions from compiler executables

Purpose

Perform this procedure to clear the “other” user permissions on specific GCC-compiler files on an NSP component station.

Note: It is recommended that you perform the procedure only during a scheduled maintenance period.

Note: You require root user privileges on the station.

Steps
 

Log in to the NSP component station as the root user.


Open a console window.


Paste the following command block into the console window:

chmod 750 /usr/bin/c89

chmod 750 /usr/bin/c99

chmod 750 /usr/bin/cc

chmod 750 /usr/bin/f95

chmod 750 /usr/bin/gcc

chmod 750 /usr/bin/gcc-ar

chmod 750 /usr/bin/gcc-nm

chmod 750 /usr/bin/gcc-ranlib

chmod 750 /usr/bin/gcov

chmod 750 /usr/bin/x86_64-redhat-linux-gcc

chmod 750 /usr/bin/c++

chmod 750 /usr/bin/g++

chmod 750 /usr/bin/x86_64-redhat-linux-c++

chmod 750 /usr/bin/x86_64-redhat-linux-g++

chmod 750 /usr/bin/gfortran

The file permissions are reset.


Close the console window.

End of steps