LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-29-2005, 01:09 PM   #1
Cottsay
Member
 
Registered: Feb 2004
Location: Chaska, MN
Distribution: Fedora
Posts: 195

Rep: Reputation: 31
Exclamation Home Directory Default Rights


Good day!

I have made a PHP script that interfaces with the Linux user system. The problem is that the rights granted to a new user's home directory is 700, and I need 711. Is there a way to set the default rights for a new user? Each home directory must have execute access to everyone. I am running Fedora Core 3 without SELinux.

Thanks for whatever you can do,

Scott Logan
CottsayNet
 
Old 08-29-2005, 01:11 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
umask is your friend..

man umask
 
Old 08-29-2005, 01:44 PM   #3
Cottsay
Member
 
Registered: Feb 2004
Location: Chaska, MN
Distribution: Fedora
Posts: 195

Original Poster
Rep: Reputation: 31
I think I know what you mean...the umask of /home is 0022 but I don't think that effects it. I looked at /etc/skel and /etc/default/useradd and can't find anything. Any ideas?
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Home Directory Rights Cottsay Fedora 2 09-06-2005 10:35 PM
xterm default home directory Fritz_Monroe Linux - Newbie 2 08-05-2005 01:33 PM
Default home directory permission kumarsundaram Linux - Security 14 06-30-2005 07:33 PM
Default home directory permission in SUSE 9.1 soldonz Linux - Security 1 05-26-2005 05:41 AM
default home directory kiley_rodgers Slackware 8 08-04-2003 07:17 PM


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