Hi,

Tim restored from a Duplicity backup and found extended attributes were
missing, causing SE Linux issues.

xattr(7) explains extended attributes; additional bits of data which can
accompany a file.

wget(1) has --xattr:

    $ wget -q --xattr https://google.com/robots.txt
    $ getfattr -d robots.txt
    # file: robots.txt
    user.xdg.origin.url="https://www.google.com/robots.txt";
    user.xdg.referrer.url="https://google.com";

    $

More background on them:
https://en.wikipedia.org/wiki/Extended_file_attributes

SE Linux uses extended attributes whereas AppArmor sticks with ordinary
files.  https://en.wikipedia.org/wiki/SE_Linux#Comparison_with_AppArmor

Duplicity doesn't backup Access Control Lists or extended attributes.
Bug reported created 2010:
https://bugs.launchpad.net/duplicity/+bug/558385

rsync(1) does copy them with -X, and ACLs with -A, both in my normal
invocation of -PacivHAXxS.  :-)

-- 
Cheers, Ralph.

-- 
  Next meeting: Online, Jitsi, Tuesday, 2020-07-07 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to