Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-23-2009, 11:38 AM   #1
LQ Newbie
Registered: Jan 2003
Location: Miami, Florida
Distribution: Debian, Fbsd, Obsd
Posts: 10

Rep: Reputation: 0
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....
Old 11-23-2009, 06:01 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change a process running in root-user to non-root user ???????????????????? narendra1310 Linux - Software 4 10-29-2009 03:11 AM
Enhanceing login authentication + changing umask of local user to root josgeorge Red Hat 2 09-10-2009 02:51 AM
Set umask in child process doesn't work sharky Programming 2 06-19-2008 08:34 PM
Set default umask for ssh as non-root WorkingClassHero Linux - Security 2 02-19-2008 11:09 AM
Set umask for user in KDE jferrando Linux - Security 2 01-12-2005 11:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration