Show TOC Start of Content Area

This graphic is explained in the accompanying text Setting Access Privileges for Files and Directories  Locate the document in its SAP Library structure

Saving Current Settings

Before changing the access privileges, we advise you to save your current settings. Enter the following commands:

cd /informix/<SID>
ls -lR > informix_perm.txt

cd /usr/sap
ls -lR > sap_perm.txt

cd /sapmnt
ls -lR > sap_sw.txt

Setting Access Privileges

To change the access privileges for a file or directory use the chmod command as shown below:

Caution

Do not use chmod recursively. It is very easy to make unintended changes to authorizations when doing so.

chmod <access privileges in octal> <file or directory>

Example

chmod 755 /informix/<SID>/sapdata

chmod 755 /informix/<SID>/sapdata/*

chmod 777 /informix/<SID>/sapdata/*/*
.
.
.

Changing Owner and Group

To change the owner and group of the Informix devices, use the commands chown and chgrp respectively. See the following example to change the owner and group for a device to informix:

Example

chown informix <name of device>

chgrp informix <name of device>

 

 

 

End of Content Area