Date: Sun, 16 Sep 2012 20:37:48 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@FreeBSD.org Subject: Re: What are negative permissions? Message-ID: <50562A8C.9040504@FreeBSD.org> In-Reply-To: <50562121.2030507@dreamchaser.org> References: <50562121.2030507@dreamchaser.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB93CD8044CA08CCDAF74E8ED Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 16/09/2012 19:57, Gary Aitken wrote: > Can someone explainn to me what "negative group permissions" are? It's where the group ownership of a file gives it fewer permissions than are allowed for the world in general. Suppose you have a file with these permissions and ownership: foo bar -rwx---r-x The owner -- foo -- has full read, write and execute permissions on the file. Anyone has read and execute permissions. But the group -- bar -- has no permissions. Now, logically, you might think that the world permissions would override the lack of group permissions, but in fact, that's not what happens. Permissions like that mean 'everyone *except* members of group bar can read and execute this. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigB93CD8044CA08CCDAF74E8ED Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBWKpQACgkQ8Mjk52CukIy1tACgk3QO0CShNnQWGnQe6K4AzNkB bYYAnj2xRgMFKBRAnyJL2NhYlWzDTDTz =KyYr -----END PGP SIGNATURE----- --------------enigB93CD8044CA08CCDAF74E8ED--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50562A8C.9040504>