From owner-freebsd-fs@FreeBSD.ORG Mon Aug 20 11:53:56 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B0CAD106566B for ; Mon, 20 Aug 2012 11:53:56 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2D9D78FC0C for ; Mon, 20 Aug 2012 11:53:55 +0000 (UTC) Received: by eeke52 with SMTP id e52so1841846eek.13 for ; Mon, 20 Aug 2012 04:53:54 -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=5iM9LGaLbfg26S/vSrvpDhEleC1ORm1hdQUtxYT4YEg=; b=eaVOP/BrR5VHkpDsCl1ptuBBJyijjRPWzxtmCaHqQrsFXbrE+rts/3gYY43rqTpD6A DqdqmQFHB1Stl9MCHKtmJP9phgeokOoDjWKtC7FfFrmymBmMu+VDnvdIgIouvJr9fBw8 TV3bIaeiQCYBPi5OYHHuhIj3/UTysRsYc6bcVZoV3y2tC5SRQFw+M/Y7PGLGqwnGpxwj tOj3LR+L0+oOnUem+B4H6fFc1vvyV939jHEAplwk4y8m1U3IxJXv3uTvYoc/cCAtLZv/ KmdL1nX77iVQKfr/+HvCaPL5kEjojEcOec4FHenoQpOwLADdniXrWZMjPbg/zP7BdMAI Tmbw== Received: by 10.14.182.69 with SMTP id n45mr8366461eem.28.1345463634087; Mon, 20 Aug 2012 04:53:54 -0700 (PDT) Received: from [192.168.1.110] (45.81.datacomsa.pl. [195.34.81.45]) by mx.google.com with ESMTPS id v3sm15340747eep.10.2012.08.20.04.53.52 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Aug 2012 04:53:53 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=utf-8 From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= In-Reply-To: <503128BB.6040801@hte.vl.net.ua> Date: Mon, 20 Aug 2012 13:53:46 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <788B90E6-B36B-40D3-8C89-BD1A2902D4D5@FreeBSD.org> References: <502FD583.9070105@hte.vl.net.ua> <06453437-D034-41C2-8B7F-15B228AD2532@FreeBSD.org> <503128BB.6040801@hte.vl.net.ua> To: Pavel Bychykhin X-Mailer: Apple Mail (2.1278) Cc: freebsd-fs@freebsd.org Subject: Re: Some of ZFS ACLs doesn't work as expected X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2012 11:53:56 -0000 Wiadomo=C5=9B=C4=87 napisana przez Pavel Bychykhin w dniu 19 sie 2012, o = godz. 19:56: > 19.08.2012 19:40, Edward Tomasz Napiera=C5=82a =D0=BF=D0=B8=D1=88=D0=B5=D1= =82: >> Wiadomo=C5=9B=C4=87 napisana przez Pavel Bychykhin w dniu 18 sie = 2012, o godz. 19:48: >>> Dear community! >>>=20 >>> After my experiments with ZFS, I concluded, that permissions = "delete_child" and "delete" are ignored. >>> For the create/update/delete operation a list of "rwxp" = (read_data/write_data/execute/append_data) is fully sufficient. >>=20 >> They are not ignored, but yes, write access on a directory is enough = to delete a file. >>=20 >>> No need to specify the "delete_child" and "delete" permissions at = all, or I don't understand something? >>=20 >> Unless you need them - no, you don't. That's why these bits are not = set in a default >> case (so called 'trivial ACL', i.e. no ACL set on a file). >>=20 >=20 > Could you please provide an example of at least one practical = situation, where the "delete_child" and "delete" permissions would be = useful? You could allow for file creation, but deny file removal. Still, as = someone already mentioned, main reason for these to exist is compatibility with = Windows and NFSv4 spec. It's just that they are not _completely_ ignored, like = SYNCHRONIZE or READ_XATTR/WRITE_XATTR are. --=20 If you cut off my head, what would I say? Me and my head, or me and my = body?