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
1 |
Log in to the NSP component station as the root or NSP admin user. |
2 |
Open a console window. |
3 |
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. |
4 |
Close the console window. End of steps |