Re: file system capabilities

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



On Wed, Nov 4, 2009 at 4:39 PM, Magnus Therning <magnus@xxxxxxxxxxxx> wrote:
>
> Just in case someone knows, does star preserve capabilities, I'm under
> the impression it does a better job on ACLs and other file system
> flags than tar?
>

After a bit of digging :

- Fedora and Redhat have a patched gnu tar with xattr support (which
should be similar to star according to [1])

- bsdtar has official xattr support. This works fine, except for the
special security.capability attribute, because bsdtar sets the
extended attributes before writing the file (because of the
information from [1]) and not after. And afaik security.capability is
the only one which get lost after file modification (for security
purpose). Anyway I contacted libarchive author about this problem so
it should be fixed in the next (major?) release.

[1] http://www.mail-archive.com/bug-tar@xxxxxxx/msg02053.html


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux