Re: [opensuse] how to give files group rw permissions



On Tue, Feb 14, 2012 at 2:31 PM, lynn <lynn@xxxxxxxxxxxx> wrote:
Hi
I want all files created or copied to a directory become rw for all group
members.

I have a directory e.g.
chmod g+rws /home/dropbox

gives me:
d-wxrws--x  2 root  suseusers 4096 Feb 14 20:16 dropbox

However, if a user in the suseusers group copies or creates a file there it
is:
-rw-r--r-- 1 steve6 suseusers 0 Feb 14 20:23 hola

but I want it:
-rw-rw---- 1 steve6 suseusers 0 Feb 14 20:23 hola

Can it be done?

Thanks,
L x

With ACLS, yes.

See http://old-en.opensuse.org/SDB:POSIX_Access_Control_List_%28ACL%29_Support

Or for a simple tutorial, I helped write this many moons ago:

http://old-en.opensuse.org/How_to_share_directories_between_groups_of_users_using_ACL

I assume it still works. If you need help understanding it, just let me know.

Now if some kind soul would move those to the new Wiki and test them
with a recent release, even better.

Greg
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx



Relevant Pages

  • Community Council meeting, Feb. 21 2006
    ... of IRC, the hills of the wiki and the seas of the members. ... Both suggestions were accepted by the Community Council. ...
    (Ubuntu)
  • Re: EAT COCK and feel humiliated!
    ... In message, Agamemnon ... "In the episode "Forest of the Dead", along with other members of the ... It's on the BBC Podcast, ... Wiki pages can be edited by anyone. ...
    (rec.arts.drwho)
  • Re: unremovable directory
    ... rm: remove write-protected directory ... or a chmod? ... If that shot misses, can you manually move that directory out of the way? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied
    ... It'll be executed by the user, not root. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Also to be a right prat, chmod a-x `which chmod` (don't do it, but i've ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (Debian-User)
  • Re: EAT COCK and feel humiliated!
    ... they start to question and analyze every belief that they ever held dear. ... "In the episode "Forest of the Dead", along with other members of the ... Anybody can edit a wiki page. ... 179.194.42.82.in-addr.arpa domain name pointer ...
    (rec.arts.drwho)