LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-07-2009, 07:39 PM   #1
jnojr
Member
 
Registered: Sep 2007
Location: San Diego, CA
Posts: 202

Rep: Reputation: 18
Always set group write bit in given directory?


I know this is a FAQ, but Google just isn't helping me.

I know about umask. But I am not trying to get all files created by a user to be masked... I want all files or directories created in or anywhere under a given directory to always gave the group write bit set.
 
Old 05-07-2009, 07:50 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
http://www.comptechdoc.org/os/linux/..._ugfilesp.html

Look at "directory set group ID" section.
 
Old 05-07-2009, 08:11 PM   #3
jnojr
Member
 
Registered: Sep 2007
Location: San Diego, CA
Posts: 202

Original Poster
Rep: Reputation: 18
Thanks, but setgid sets ownership, not file permissions.
 
Old 05-07-2009, 08:29 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Sorry, misread your post.

Try this http://www.novell.com/coolsolutions/trench/16940.html. It seems to indicate that you need to set the default ACL for the directory.
 
  


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
Active Directory User Cannot Write to Samba Home Directory jonwatson Linux - Networking 2 12-19-2006 01:40 PM
Set group id,set user id? JAKK Slackware 3 06-15-2006 11:16 PM
How to view set-user-ID and set-group-ID Xris718 Linux - General 7 01-10-2004 02:44 PM
write permissions for directory - not accidently move/deleted the directory linuxgamer Linux - Newbie 10 12-02-2003 04:04 AM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 07:58 AM


All times are GMT -5. The time now is 10:56 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration