LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 05-23-2005, 04:11 PM   #1
waynevnc
Member
 
Registered: Jun 2004
Location: Washington
Distribution: Debian 3.0
Posts: 58

Rep: Reputation: 15
File/Directory Permissions


I have directories/files set with group permission but, if a user within the group creates a new directory the permissions are set for read, write & execute for that person and no access for all others in the group.

My question is how do I set a directory and therefore the files to keep the same (group) permissions all the time?

Can someone answer this for me or direct me to some reading material so I can figure this out. I have researched it several times with no results.

Thanks
Wayne
 
Old 05-23-2005, 04:23 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Man umask.

You can set the default global file permissions in /etc/bashrc, or the default user file permissions in ~/.bashrc. A brief explanation is given in http://docs.cs.byu.edu/docs/linuxpermissions/2.php#5.

Cheers,

mj
 
  


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
samba file/directory permissions jonfa Linux - Networking 2 06-29-2005 08:03 AM
Default directory and file permissions kodon Slackware 10 08-08-2004 08:27 AM
File and Directory permissions plasmapudding Red Hat 3 09-09-2003 10:26 AM
'Proper' file and directory permissions etherdeath Linux - General 5 03-02-2003 03:24 AM
Directory and file permissions ryan Linux - Security 2 12-06-2000 12:46 PM


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