From owner-freebsd-questions@FreeBSD.ORG Thu Feb 5 13:21:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 663B716A4CE for ; Thu, 5 Feb 2004 13:21:55 -0800 (PST) Received: from prioris.mini.pw.edu.pl (prioris.mini.pw.edu.pl [194.29.178.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BEFE43D73 for ; Thu, 5 Feb 2004 13:21:15 -0800 (PST) (envelope-from G.Czaplinski@prioris.mini.pw.edu.pl) Received: from localhost (localhost.mini.pw.edu.pl [127.0.0.1]) by prioris.mini.pw.edu.pl (Postfix) with ESMTP id 2401D243A2; Thu, 5 Feb 2004 22:21:10 +0100 (CET) Received: by prioris.mini.pw.edu.pl (Postfix, from userid 1368) id 3EF712439C; Thu, 5 Feb 2004 22:20:56 +0100 (CET) Date: Thu, 5 Feb 2004 22:20:56 +0100 From: Grzegorz Czaplinski To: Jerad Hampton Message-ID: <20040205212055.GR63845@prioris.mini.pw.edu.pl> Mail-Followup-To: Jerad Hampton , freebsd-questions@freebsd.org References: <402219E8.19007.3EC531@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HVCoas+krw6dou6l" Content-Disposition: inline In-Reply-To: <402219E8.19007.3EC531@localhost> User-Agent: Mutt/1.4.1i X-PGP: http://prioris.mini.pw.edu.pl/~gregory/pgp.txt X-URL: http://prioris.mini.pw.edu.pl/~gregory/ X-Voice: +48 600 396 054 X-FreeBSD: Running FreeBSD? - Share the server config! - http://prioris.mini.pw.edu.pl/~gregory/FreeBSD/ X-Virus-Scanned: by AMaViS (prioris) cc: freebsd-questions@freebsd.org Subject: Re: ACL mask shanging group perms X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 21:21:55 -0000 --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 "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--