Setting
Access Privileges for Files and Directories
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
To change the access privileges for a file or directory use the chmod command as shown below:

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>

chmod 755 /informix/<SID>/sapdata
chmod 755 /informix/<SID>/sapdata/*
chmod 777
/informix/<SID>/sapdata/*/*
.
.
.
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:

chown informix <name of device>
chgrp informix <name of device>