From owner-freebsd-arch@FreeBSD.ORG Mon Nov 1 11:45:25 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD11D106564A for ; Mon, 1 Nov 2010 11:45:25 +0000 (UTC) (envelope-from etnapierala@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3F1A78FC17 for ; Mon, 1 Nov 2010 11:45:24 +0000 (UTC) Received: by wyb42 with SMTP id 42so5368296wyb.13 for ; Mon, 01 Nov 2010 04:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=h4QoQvbA3MDm/61qrt/efgrPYiYTG9Wbbr7fviP1E5Y=; b=PExlBLOnRjd9jNuhObx9lGUGxMM5j8cs3epZF3ees3892HYcTSfFPYrGb1FAP0XUgA 6fzupDjxjp8M6G0032UKUQbDINTw/vzudd0fSB+mRsCcfR7Tnr7ZP+fZ5BtVxKUQnwwK 7cws9JfNOmQsLc6Yk3fF6XoN0i3eb1SCtP4/I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=ZWqVsTftK1/ZclniMt/vqVTW5mUuUFLxS862KNGHNjfSIxtLazC8vpgAjyiJEwAAU/ 1pU5XIGGUtOqmiLtHH1T13kXfoKLXAy/KwaKQIH5R5Sev8dqdlXbe/HqUYerYwShdGs/ LoFIAT/WgrzkJVUgDXkiSpmUxHb6q/E8/wdtI= Received: by 10.216.185.4 with SMTP id t4mr63425wem.87.1288611924247; Mon, 01 Nov 2010 04:45:24 -0700 (PDT) Received: from [192.168.2.7] (gate19.robnet.pl [194.105.132.219]) by mx.google.com with ESMTPS id x65sm3767606weq.25.2010.11.01.04.45.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 01 Nov 2010 04:45:22 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=iso-8859-2 From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= In-Reply-To: <0C4615AC-7F1F-4486-A431-500535B79B2E@kientzle.com> Date: Mon, 1 Nov 2010 12:45:19 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <6C83B4B3-EE48-4344-8B8E-BED7FB5E9646@freebsd.org> References: <7CE78D72-F349-443B-A635-8DC7B970C2E0@freebsd.org> <0C4615AC-7F1F-4486-A431-500535B79B2E@kientzle.com> To: Tim Kientzle X-Mailer: Apple Mail (2.1081) Cc: "arch@" Subject: Re: Adapting FreeBSD to PSARC/2010/029. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2010 11:45:25 -0000 Wiadomo=B6=E6 napisana przez Tim Kientzle w dniu 2010-10-30, o godz. = 07:17: > On Oct 29, 2010, at 11:44 AM, Edward Tomasz Napiera=B3a wrote: >> Currently, NFSv4 ACLs support in FreeBSD adheres to a draft by Sam = Falkner >> (it also complies with RFC3530, but that one leaves many things = undefined). >> Semantics for both UFS and ZFS is exactly the same. With ZFS v28, = the >> semantics has changed; see the link below for details: >>=20 >> = http://arc.opensolaris.org/caselog/PSARC/2010/029/20100126_mark.shellenbau= m >=20 > I guess I need to get back to work on the NFSv4 ACL support for = libarchive, eh? Obviously :-) > This is great. Together with the acl_is_trivial_np() test function, = the ACL > support now makes a lot more sense. >=20 > The chmod(2) interaction, in particular, is a huge improvement. I'm not sure about it. I mean, yes, it's simpler - it's actually = possible to understand and remember how it works now - but from what I remember, the problem with the old semantics and libarchive was that libarchive = tried to set file mode after restoring the ACL. With draft semantics, this resulted in malformed ACL. With PSARC semantics, this results in no ACL at all. -- If you cut off my head, what would I say? Me and my head, or me and my = body?