bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] patches for acl, xattrs, and selinux support


From: Tim Kientzle
Subject: Re: [Bug-tar] patches for acl, xattrs, and selinux support
Date: Mon, 02 Feb 2009 23:41:25 -0800
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060422

Andreas Dilger wrote:

If all of the xattrs are backed up, there is still a whitelist for the
restore step, and in the worst case the user will have to update to a newer
tar (or edit the code and recompile) to restore their data.  Ideally, there
would be a default list of attributes to restore, and users could specify
via arguments which xattrs to restore if they have some specific requirement.

This makes a lot of sense.

I suspect it will be very difficult to restore anything
other than "user" attributes by default.  System and filesystem
attributes can carry a lot of surprises, especially when
porting data across different OSes (or even just different
filesystems or different kernel revisions).

- Change the restoration of xattrs to be before any file data is written.
 This allows the xattrs to contain layout hints, ...

I can't think of any problems with this, esp. if you just move the
xattrs and not ACLs/SELinux too ...

True, as long as the xattrs don't include security
information that would break the rest of the restore.

Tim Kientzle




reply via email to

[Prev in Thread] Current Thread [Next in Thread]