Setting Access Privileges for Files and Directories
Context
Before changing the access privileges, make sure that you save your current settings, as described below.
Procedure
Saving Your Current Settings
-
cd /oracle/<DBSID> ls -lR > oracle_perm.txt
-
cd /usr/sap ls -lR > sap_perm.txt
-
cd /sapmnt ls -lR > sap_sw.txt
To change the access privileges for a file or directory, use the chmod command as shown below:
-
chmod <access privileges in octal> <file or directory>