Another option is ACLs, which works nicely if you need fine grained, 
multiple group permissions control:

https://help.ubuntu.com/community/UbuntuLTSP/ACLSupport

(shameless plug for the howto I wrote, and coincidentally referring to 
right now before I read this list post ;) )


Cheers,
Jordan


Scott Balneaves wrote:
> On Mon, Feb 02, 2009 at 12:54:52PM -0700, David Burgess wrote:
>
>   
>> I'm sure there are other solutions, but mine has been to change the
>> default umask to something like 007 and then if I want user tina to be
>> able to edit files from joe, I just adduser tina joe, then tina can
>> edit joe's files.
>>     
>
> The usual way to handle shared directories, within Unix, anyway, is by a
> combination of umask, and the setgid bit on the directory:
>
> mkdir /home/shared
> chgrp users /home/shared
> chmod g+w /home/shared
> chmod g+s /home/shared
>
> Now, you'll have a directory which is group-owned by "users".  All users in 
> the
> group "users" will be able to create content here, and *regardless* of their
> primary group ownership, any file they create within the "shared" folder, will
> be group owned by "user".
>
> This, coupled with a default umask of 007 makes it easy to create shared
> folders that just "do the right thing".
>
> Hope this helps somebody.
>
> Scott
>
>   


-- 
Jordan Erickson
Owner, Logical Networking Solutions
http://www.logicalnetworking.net
707-636-5678

Latest LNS Blogs - http://blog.logicalnetworking.net

        2.0 TB (2,000 Gigabyte) Hard Drive from Western Digital
        Mac trojan horse discovered in pirated Photoshop
        Meet the Via Nano


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to