The --xattrs and --acls flags store extended attributes and POSIX ACLs, the extra permissions beyond owner, group and other, inside the archive. Without them, SELinux labels and fine-grained permissions can be lost on restore. These flags require GNU tar.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.