umask setting during oracle install- for the new oracle dba




you are a new oracle dba and you would like to know the significance of setting the umask while installing a new oracle database.

Using the ‘umask’ setting of 007, any directories created by OUI will have 770 permissions and any files created by OUI will have 660 permissions unless the permissions are specifically changed:

during the linking phase,

when running the $ORACLE_HOME/root.sh script, or

when running the $ORACLE_HOME/install/changePerm.sh script

For example:

% cd $ORACLE_HOME
% ls -ld install
drwxrwx— 5 oracle dba 4096 May 30 11:11 install
% cd install
% ls -al make.log
-rw-rw—- 1 oracle dba 725996 May 30 11:11 make.log
% cd ../bin
% ls -al oracle
-rwsr-s–x 1 oracle dba 133931301 May 30 15:59 oracle

Using the ‘umask’ setting of 022, any directories created by OUI will have 755 permissions and any files created by OUI will have 644 permissions unless the permissions are specifically changed by linking or running a script (see above).

Support strongly encourage customers to use the umask setting 022, as per the Installation Guide.

Author: admin