From owner-freebsd-questions@FreeBSD.ORG Fri Aug 31 19:04:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2BEF5106566C for ; Fri, 31 Aug 2012 19:04:31 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id A47FA8FC08 for ; Fri, 31 Aug 2012 19:04:29 +0000 (UTC) Received: by wibhr14 with SMTP id hr14so1517346wib.13 for ; Fri, 31 Aug 2012 12:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=wRxyjj1Fx3IygHRSElFJPHkF2vQrz1XIIYUzMAfHIxU=; b=bGaVcnF9kKW7+TBBJOiu/FCftbB1kC3/wap3MOAInxfyW7eZsiXANyJ9i133sIX2KK kMnxLSU/MLruifvfUJU6Zoq8BoQYui0uN5T1otFsu2GydeLSynTTN9UcSqidxXv7sIdT 5i9LR0W9pCf3BFQ9P4Bqrh4nDv60UgzdEoRZlK99cqxif0oWtFasqKDa7CNlxAuNEStS RJlhkQ+sfxn7b8YRLTFSkRaFP0YMVt+DhhPpdSD/7JWPczxi+YDwe8cEuZ8jyYvNopsf d+kZBRih2jKgzzItQ1XDWJAM9O+cbNU69hwn/uNgqhKij3CsVhzltuejV7B0BQy/rYJf OxaA== Received: by 10.180.106.137 with SMTP id gu9mr6455090wib.20.1346439869008; Fri, 31 Aug 2012 12:04:29 -0700 (PDT) Received: from [192.168.1.103] (45.81.datacomsa.pl. [195.34.81.45]) by mx.google.com with ESMTPS id t8sm2374779wiy.3.2012.08.31.12.04.28 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 31 Aug 2012 12:04:28 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=iso-8859-2 From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= In-Reply-To: Date: Fri, 31 Aug 2012 21:04:25 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <60FD2657-0D3C-4E6C-ABD0-652DA424D9A2@freebsd.org> References: To: Doug Sampson X-Mailer: Apple Mail (2.1278) Cc: "freebsd-questions@freebsd.org" Subject: Re: NFSv4 ACL permissions setting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2012 19:04:31 -0000 Wiadomo=B6=E6 napisana przez Doug Sampson w dniu 31 sie 2012, o godz. = 01:42: [..] > group:DSP-production:rwxpDdaARWcCos:fd----:allow = <<<<<----- > group:DSP-production:rwxpDdaARWcCos:fd----:allow = <<<<<----- This itself looks like a bug in setfacl(1). I'll look into it. = However... [..] > #!/bin/sh > # run this script where you wish to effect the changes > # reset perms to default > find . -type d -print0 | xargs -0 setfacl -b * Why the asterisk? Also, using "-m" with NFSv4 ACLs is not a very good idea - it's supposed to work, but with NFSv4 ACLs the ordering does = matter, and "-m" simply modifies the ACL entry in place, while the effect of the entry might depend e.g. on "deny" entries before it. Use "-a" instead. --=20 If you cut off my head, what would I say? Me and my head, or me and my = body?