1833601 Members
3956 Online
110061 Solutions
New Discussion

trust system and umask

 
EAB
Advisor

trust system and umask

Hi All,
we have a problem with oracle database ,
we have cluster database installed at 2 HP node
after convert the system to trust system and restart only one node ,
any file created at this node1 through the database using oracle utility it is created with mod 600 , and i checked the umask for the oracle i found it is changed to 077 ,
but at the other node2 which is not restarted ,it is working fine and the file is created by mod 755,
i already restart the oracle and listener at the node1 after change umask for user oracle to 022 and put it at the .profile for user oracle but we still face the same problem ,
any one can help ,

Thanks
Manal
3 REPLIES 3
Kent Ostby
Honored Contributor

Re: trust system and umask

Check the umask in /etc/profile.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
RAC_1
Honored Contributor

Re: trust system and umask

If oracle is creating a file, then it needs to take care of it. On unix, putting it in .profile or /etc/profile is enought. (Assuming that user did not change it.)
There is no substitute to HARDWORK
Bill Hassell
Honored Contributor

Re: trust system and umask

umask 022 creates files as 644, not 600. 077 creates files as 666, not 755. It is not possible to create a file that has 755 permissions without using the chmod command. NEVER create data files as 755 or 777. The execute bit is only meaningful with scripts. Since your umask and the resultant files that are created do not match up, you'll have to investigate the programs/scripts that are creating the files.


Bill Hassell, sysadmin