LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Set umask for process running root user (https://www.linuxquestions.org/questions/linux-newbie-8/set-umask-for-process-running-root-user-771010/)

uuplunkeruu 11-23-2009 10:38 AM

Set umask for process running root user
 
Hey Guys,

I am trying to set the umask for a process(orkaudio) which is running as the root user. This program creates dir and files and I need the umask to be 022. I have edited my /etc/bashrc -- and when i type in umask i get 0022 --- Not sure how to go about getting this resolved...

any help would be greatly appreciated....

Tinkster 11-23-2009 05:01 PM

For all practical intents and purposes the result should
be the same, unless your program is trying to do "sticky" things.

As for actually changing it - have a look at /etc/profile


Cheers,
Tink


All times are GMT -5. The time now is 11:01 PM.