Date: Thu, 5 Feb 2004 22:20:56 +0100 From: Grzegorz Czaplinski <G.Czaplinski@prioris.mini.pw.edu.pl> To: Jerad Hampton <jerad.hampton@kingsu.ca> Cc: freebsd-questions@freebsd.org Subject: Re: ACL mask shanging group perms Message-ID: <20040205212055.GR63845@prioris.mini.pw.edu.pl> In-Reply-To: <402219E8.19007.3EC531@localhost> References: <402219E8.19007.3EC531@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
--HVCoas+krw6dou6l Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 05, 2004 at 10:24:40AM -0700, Jerad Hampton wrote: > Is anyone using acls on there file sytstem? >=20 > When I change an acl it also sets the unix g permissions the same as the = mask >=20 > orca# ll > total 4 > -rw-r-x---+ 1 root users 68 Feb 5 09:58 index.html > orca# getfacl index.html=20 > #file:index.html > #owner:0 > #group:1000 > user::rw- > user:nobody:r-x > group::--- > mask::r-x > other::--- > orca# setfacl -m u:nobody:rwx index.html > orca# ll > total 4 > -rw-rwx---+ 1 root users 68 Feb 5 10:24 index.html > orca# getfacl index.html=20 > #file:index.html > #owner:0 > #group:1000 > user::rw- > user:nobody:rwx > group::--- > mask::rwx > other::--- > orca#=20 >=20 > I don't think this is normal behavior. Any sugestions? >=20 It's how it works on according to spec. Use -n switch to prevent recalculating the mask. You may want to read: http://ezine.daemonnews.org/200310/acl.html greg -- Grzegorz Czaplinski <gregory at prioris.mini.pw.edu.pl> "The Power to Serve, Right for the Power Users!" - http://www.FreeBSD.org/ Fingerprint: EB77 E19D CFA2 5736 810F 847C A70F A275 2489 469F --HVCoas+krw6dou6l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQFAIrO3pw+idSSJRp8RAgUEAJ99ruvs5EofN9B48DMZPLP/IfacNgCcCzZx 3+Od67Z8TVH5Oi7KrOM77/4= =KaEc -----END PGP SIGNATURE----- --HVCoas+krw6dou6l--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040205212055.GR63845>