LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-15-2004, 11:11 AM   #1
sbrewer
Member
 
Registered: Jul 2004
Location: Huntsville, AL
Distribution: RedHat 9
Posts: 43

Rep: Reputation: 15
How to set defaul UMASK 037


All.

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,

SB
 
Old 09-15-2004, 11:14 AM   #2
bknight1983
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.

Regards,
Bryan
 
Old 09-15-2004, 12:26 PM   #3
sbrewer
Member
 
Registered: Jul 2004
Location: Huntsville, AL
Distribution: RedHat 9
Posts: 43

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


Reply



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 05:06 AM
Set umask for user in KDE jferrando Linux - Security 2 01-12-2005 10:41 AM
How to set umask value to 0007 cbekannan Linux - Security 4 01-11-2005 12:15 AM
can you set a default umask for only certain directories? BrianK Linux - General 3 06-14-2004 09:02 PM
Where to set default file permissions (umask)? tredegar Linux - Newbie 14 01-27-2004 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:28 PM.

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