Visit Jeremy's Blog.
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 09-15-2004, 12:11 PM   #1
Registered: Jul 2004
Location: Huntsville, AL
Distribution: RedHat 9
Posts: 43

Rep: Reputation: 15
How to set defaul UMASK 037


I want to set a default UMASK 037 for all users. How and where do I need to do this? I want the default permissions of objects created to be -rwxr-----.

Thanks in advance,

Old 09-15-2004, 12:14 PM   #2
LQ Newbie
Registered: Aug 2004
Location: New Hampshire
Posts: 7

Rep: Reputation: 0
Edit your /etc/profile and add the following line

umask 037

I think that should do it.

Old 09-15-2004, 01:26 PM   #3
Registered: Jul 2004
Location: Huntsville, AL
Distribution: RedHat 9
Posts: 43

Original Poster
Rep: Reputation: 15
Thanks but that doesn't seem to work.


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
ProFTPD: Set umask so that directories are created with 'sticky bit' on. dutch2005 Linux - Software 1 09-06-2005 06:06 AM
Set umask for user in KDE jferrando Linux - Security 2 01-12-2005 11:41 AM
How to set umask value to 0007 cbekannan Linux - Security 4 01-11-2005 01:15 AM
can you set a default umask for only certain directories? BrianK Linux - General 3 06-14-2004 10:02 PM
Where to set default file permissions (umask)? tredegar Linux - Newbie 14 01-27-2004 06:10 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:43 PM.

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