From owner-freebsd-stable@FreeBSD.ORG Fri Feb 8 17:50:38 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BBFA4E64; Fri, 8 Feb 2013 17:50:38 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-ea0-f174.google.com (mail-ea0-f174.google.com [209.85.215.174]) by mx1.freebsd.org (Postfix) with ESMTP id 233A3348; Fri, 8 Feb 2013 17:50:37 +0000 (UTC) Received: by mail-ea0-f174.google.com with SMTP id 1so1782649eaa.5 for ; Fri, 08 Feb 2013 09:50:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=22uDRZOM2arZZtaj+um4QCfy45OTo5vJBX9c9uRYJgI=; b=p125DmYpY1fZr4cqOdC0I1VJBCz42Fz+SjA/yDPl73BnYH/BVuSrnCJ3ARV32Y4Sfx 7kt8yqnhfOsvWKFj7lizvW0/xkQUBcqButFKrQfEpt4K3ob2i29/CFl5gHqhpnMdwnng TfovCDu/I5iAOcSrjbpZM9kGiGAGrjmEmGCriuT1WTNJJrUiyVM7axo6YpJRzidh/vnE 0RZq+oO7NlP3WPoLInSuSI6Qf/DvoIJkQQ9W4GBMZ0J0Kd+MlcTisBC6fa9kVqLpBn8V Yevki/I+mgCmAimDFh4/32HTNNhajhJjJ9bSAF2qO6AA6p2R39iF32biA5JBoCcMsLmU gvpQ== X-Received: by 10.14.182.5 with SMTP id n5mr17823044eem.9.1360345836189; Fri, 08 Feb 2013 09:50:36 -0800 (PST) Received: from [192.168.1.104] (45.81.datacomsa.pl. [195.34.81.45]) by mx.google.com with ESMTPS id h5sm48492044eem.1.2013.02.08.09.50.35 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Feb 2013 09:50:35 -0800 (PST) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Subject: Re: multiple ACEs with the same ACL qualifier Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=iso-8859-2 From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= In-Reply-To: <51152DB8.4060703@omnilan.de> Date: Fri, 8 Feb 2013 18:50:33 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <578FD1DA-8D68-446F-9443-4D8E0220BD31@FreeBSD.org> References: <51152DB8.4060703@omnilan.de> To: Harald Schmalzbauer X-Mailer: Apple Mail (2.1283) Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 17:50:38 -0000 Wiadomo=B6=E6 napisana przez Harald Schmalzbauer w dniu 8 lut 2013, o = godz. 17:54: > Hello, >=20 > I'd like to duplicate the following ACL: > # file: /data/shared/ > # owner: harry > # group: harry > group:1stgroup:r-x---a-R-c--s:fd----:allow > group:2ndgroup:rwxp--a-R-c--s:-d----:allow > group:2ndgroup:----D---------:-d----:deny > group:2ndgroup:r-----a-R-c--s:f-i---:allow > owner@:rwxpDdaARWcCos:fd----:allow > group@:r-xp--a-R-c--s:fd----:allow > everyone@:--------------:fd----:allow >=20 > So there are two "group:2ndgroup:::allow" entries. > While it's annoying that I can't modify one specific of these with = "-m" > (both get altered without warning/confirmation reques), I also can't = use > "-M" to apply it read from file. >=20 > Are there any workarrounds? Please use "-a" and "-x" instead. The "-m" was fine for POSIX.1e ACLs, where you never have more than one entry per principal and the ordering doesn't matter. --=20 If you cut off my head, what would I say? Me and my head, or me and my = body?