Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set a process umask?

Status
Not open for further replies.

hyperbug

Programmer
Aug 10, 2001
25
0
0
ES
A process owned by root is started in the /etc/rc3.d directory. But when it starts to run is owned by the bin user. The bin user doesn't have a shell in the passwd file.
The process creates files with permisions 0640.
In the /etc/profile is the umask 022 command.
I would like the process created the files using the umask 022. How can I solve that?
Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top