Re: XATTR option does NOT work for chattr attributes
[email protected] (Joerg Schilling) Fri, 21 Sep 2007 13:05:49 +0200
| Newsgroups | gmane.comp.archivers.star.user |
|---|---|
| Message-ID | <46f3a58d.kFNZfNQ8hsoBMR8C%[email protected]> |
"Vincent Callanan" <[email protected]> wrote: > I have a make log which I tried to post but it was rejected as too big. > > Are you quite sure that chattr attributes are preserved on your solaris > version? > Is it possible that this is a Linux Kernel issue? I do not yet support generic extended attributes as I like to find a way to implement a OS independent format. Extended attributes have not been used in free Solaris versions until recently (Trusted extensions for Solaris are now free). > It seems a bit crazy when many Linux distros support chattr attributes but > there is no pre-packaged copy/archive utility that preserves them. I'm not > too interested in chattr attributes in general but the immutable flag is > very useful. It seesmt that you are not talking about extended attributes but about file attributes. They are currently implemented ZFS to allow in kernel CIFS server. > Is it possible that this has something to do with XATTR namespaces? > Perhaps star only support user namespace? > Anyone know what namespace is used by chattr attributes? Linux XATTR is a limited variant of extended attributes. It is not related to file attributes. The Linux XATTR support is from the NSA and only present for courtesy. I originately planned not to implement a linux specific archive format for something that is more generic on Solaris. You seem to talk aout interference between setting XATTR and the "immutable" file flag, right? It is questionable whether star should allow set XATTRs on files with the immutable flag. If this happens while extracting files, it looks like a bug. But from the code, I would guess that this cannot happen as the XATTR information is _before_ the file flag information inside the extended tar header. So please give a better explanation of your problem. Jörg -- EMail:[email protected] (home) Jörg Schilling D-13353 Berlin [email protected] (uni) [email protected] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily