Wednesday, April 3, 2013

The files created in the ODI servers with OS users are having the permission -rw-r-----

We recently got an issues where implementer said that when he created files from ODI agent ,he got issues like file had -rw-r-----(640) permission only .We checked that at OS level teh usmask was set to 022.But we were wondering then from where was agent picking up the umask value.It seems like the umask is explicitly set on startWebLogic.sh and startNodeManager.sh .We need to fix this to fix the issue.


-bash-3.2$ grep umask startWebLogic.sh
umask 037

-bash-3.2$ grep umask startNodeManager.sh
umask 027

So we need to change umask to 022 in both locations and restart services to fix the issues.Same goes with weblogic log file permissions.