Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Mar 2017 12:50:33 +0100
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        stable@freebsd.org
Subject:   How to copy ACLs on ZFS with tar ?
Message-ID:  <20170304115033.GF13006@home.opsec.eu>

next in thread | raw e-mail | index | archive | help
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 !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170304115033.GF13006>