To restore compiler world permissions

Purpose

Perform this procedure to restore the original file permissions reset by performing To remove world permissions from compiler executables 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 station as the root user.


Open a console window.


Paste the following command block into the console window:

chmod 755 /usr/bin/c89

chmod 755 /usr/bin/c99

chmod 755 /usr/bin/cc

chmod 755 /usr/bin/f95

chmod 755 /usr/bin/gcc

chmod 755 /usr/bin/gcc-ar

chmod 755 /usr/bin/gcc-nm

chmod 755 /usr/bin/gcc-ranlib

chmod 755 /usr/bin/gcov

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

chmod 755 /usr/bin/c++

chmod 755 /usr/bin/g++

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

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

chmod 755 /usr/bin/gfortran

The original file permissions are restored.


Close the console window.

End of steps