ACLs and tar(1) (bsdtar)

Andrew Pantyukhin infofarmer at FreeBSD.org
Mon Nov 19 05:15:56 PST 2007


Is there a reliable way to store ACLs in tar archives? I've tried
to create with "tar cpf" and extract with "tar xpf" with no luck.
Only flags are extracted correctly. Should I use another format
(I've tried pax as per default and ustar)? Is it possible at all?

I'll be glad to hear about any solution which allows for
selective archival of a file system. I.e. anything except for
dump/restore. So far I haven't had any luck with pax and cpio.


More information about the freebsd-questions mailing list