From owner-freebsd-stable@freebsd.org Sat Mar 4 11:50:33 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57FDECF7094 for ; Sat, 4 Mar 2017 11:50:33 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4970E1DF4 for ; Sat, 4 Mar 2017 11:50:33 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 45CB2CF7093; Sat, 4 Mar 2017 11:50:33 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45721CF7091 for ; Sat, 4 Mar 2017 11:50:33 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 103F11DF3 for ; Sat, 4 Mar 2017 11:50:33 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from pi by home.opsec.eu with local (Exim 4.87 (FreeBSD)) (envelope-from ) id 1ck8Cn-0006ON-Lr for stable@freebsd.org; Sat, 04 Mar 2017 12:50:33 +0100 Date: Sat, 4 Mar 2017 12:50:33 +0100 From: Kurt Jaeger To: stable@freebsd.org Subject: How to copy ACLs on ZFS with tar ? Message-ID: <20170304115033.GF13006@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Mar 2017 11:50:33 -0000 Hi! I have a file with the following ACL (in fact, a whole tree with files like that): srv$ getfacl myfile # file: myfile # owner: myuser # group: domain-users group:myuser:rw-p--aARWcCo-:-------:allow group@:rw-p--a-R-c---:-------:allow everyone@:rw-p--a-R-c---:-------:allow How do I copy this file or the tree with tar, while preserving the ACLs ? Or do I have to use something else ? -- pi@opsec.eu +49 171 3101372 3 years to go !