LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-05-2005, 10:00 AM   #1
Cottsay
Member
 
Registered: Feb 2004
Location: Chaska, MN
Distribution: Fedora
Posts: 195

Rep: Reputation: 31
Exclamation Home Directory Rights


Hi, I am running Fedora Core 3 without SELinux and I am looking for a way to set the default rights for newly created home directories for new users. I need to add execute to all, resulting in rwx--x--x. I've heard that umask may help in some way...not sure. I've looked at the /etc/skel file, no solution, and I don't find anything in /etc/default/useradd. Any ideas?
 
Old 09-06-2005, 07:10 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,528

Rep: Reputation: 177Reputation: 177
"I am running Fedora Core 3 without SELinux and I am looking for a way to set the default rights for newly created home directories for new users."
"I've heard that umask may help in some way"

You need to change the default umask. In SuSE the default umask is defined in /etc/profile. I think that Fedora also uses /etc/profile for the user default umask.

Here is how umask works:

http://www.die.net/doc/linux/man/man2/umask.2.html


---------------------------
Steve Stites
 
Old 09-06-2005, 10:35 PM   #3
Cottsay
Member
 
Registered: Feb 2004
Location: Chaska, MN
Distribution: Fedora
Posts: 195

Original Poster
Rep: Reputation: 31
I think that the actual default umask is hard coded and can't be changed, but I added the -m option to useradd and it created it with the rights I need to start with. Thanks much!
 
  


Reply


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
Rights to create Directory MahsanS Linux - Security 1 09-28-2005 06:44 AM
Home Directory Default Rights Cottsay Linux - General 2 08-29-2005 01:44 PM
Directory Rights UNIX vs Linux, help... dolvmin Linux - Security 12 08-04-2004 01:05 PM
Directory rights dtournas Linux - Security 1 09-02-2003 07:23 AM
Assign rights to directory robertmarkbram Linux - Newbie 4 08-15-2003 07:58 AM


All times are GMT -5. The time now is 01:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration