On Tue, Dec 19, 2017 at 02:07:35PM -0800, Dan Hitt wrote: > > Just for reference, although the attributes exist and i ithink are > exactly what i need, it looks like the system has to be nudged a > little to use them. > > So, for example, with cp, you need to do 'cp -a' to carry along the > attributes ('cp -p' is not enough). > > Also, it looks like tar has to be told about the attributes both on > the way in and on the way out: > tar --xattr -cf my_archive.tar my_file > tar --xattr -xf my_archive.tar > You are correct that most utilities do not handle/preserve the extended attributes by default.
> It would be nice if the system could be told to use attributes by default. > I am not aware of there being a system-wide setting for that. > But that's a very small nit compared to the value of having attributes. > > It sure seems like a big win to be able to skip devising ways to > encode attributes into a file format. > > (And it looks like the system we're using originated at SGI, then > through Red Hat (Andreas Gruenbacher). So glad it was kept alive and > passed along!) > > dan Regards, -Roberto -- Roberto C. Sánchez