1837035 Members
3156 Online
110111 Solutions
New Discussion

file permission problem

 
Kenn Chen
Advisor

file permission problem

CUrrently, i have a unix user used by one of my application program. This program is used to put a file into Unix directory with certain permission (e.g. 666). But, when I run the program in my application (software - SAP) and the Unix user did not read the .profile and put the file as 660. I have set my umask in .profile, .login, .csh. This user is program called and automaticaally login into Unix to put the file. How could I control the file permission.
Cyber Zen
2 REPLIES 2
Steven Sim Kok Leong
Honored Contributor

Re: file permission problem

Hi,

I faced a similar issue with SAP. SAP does things differently and it does not rely on the umask for its file permissions.

In my environment, I workarounded the problem by having a cron job that periodically checks the files created from the application and changes the file permissions appropriately.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Ian Dennison_1
Honored Contributor

Re: file permission problem

OSS has a note (68718), referring to SAP parameter 'install/umask'. A good reference Note is also 154678 - Roll / Paging File permissions.

Hope this answers the question. Share and Enjoy! Ian
Building a dumber user