Mailinglist Archive: opensuse (2700 mails)

< Previous Next >
RE: [SLE] File/Directory Permissions.
  • From: "Carlos E. R." <robin1.listas@xxxxxxxxxx>
  • Date: Fri, 29 Jul 2005 01:47:05 +0200 (CEST)
  • Message-id: <Pine.LNX.4.61.0507290143480.12319@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Wednesday 2005-07-27 at 17:20 -0800, Greg Wallace wrote:

> >I really want to figure out how to get user A and user B to be able to
> >work in the same directory as long as they are in the same group. It
> >shouldn't matter who owns the file as long as the users are in the same
> >group.
>
> chmod g+rwx /directory
>
> This basically says add read and write privileges for anyone in the group to
> that directory. X means access for directories, meaning all users in the
> group can specify it in a file path (for files, x means executable; i. e.,
> it's a program).


But also, each individual file needs write permission for the group, or the
can't be edited:

chmod g+rw file

- --
Cheers,
Carlos Robinson

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFC6W57tTMYHG2NR9URAqPNAJ0WxNjRXYWuescaINKGc/R0C2r1YACfTfx9
BxlqfZwqZqUfMkqzaHK0+ww=
=XIUg
-----END PGP SIGNATURE-----


< Previous Next >
References