Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-31-2004, 02:36 PM   #1
Registered: Jun 2003
Location: Hong Kong
Distribution: Mandrake 9.1
Posts: 72

Rep: Reputation: 15

Hi. Im currently using a Trustix cPanel server with standard cPanel included software. For some reason my UMASK keeps changing back to 0077 everytime i reboot or restart apache or somthing.... how do i get it to make 0027 the default umask setting?
Old 12-31-2004, 08:14 PM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Umask is a $BASH built-in command...........

man umask
Old 11-26-2009, 06:43 AM   #3
LQ Newbie
Registered: Oct 2006
Posts: 12

Rep: Reputation: 0
I think you can change the umask value in /etc/profile.

I think you can change the umask value in /etc/profile.
Old 11-27-2009, 08:52 AM   #4
Registered: Jun 2006
Location: Bangalore,india
Distribution: Linux(Redhat,fedora,suse,ubantu), Solaris (s8/s9/s10/nevada/open-solaris)
Posts: 303

Rep: Reputation: 32
I think default umask is 0022
You can chage this using
umask 0022

If it still changes, put this into bashrc script or somthing like that as per your distro and shell type.


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
umask trophy Linux - General 1 04-03-2004 02:17 AM
umask=0,0,0 demmylls Linux - General 2 09-15-2003 01:13 PM
Umask robyso Linux - Security 1 07-14-2003 03:33 PM
umask Spaz17 Linux - Newbie 1 07-04-2003 11:12 AM
umask knueven7 Linux - Newbie 8 04-18-2003 08:30 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:30 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