Re: XATTR option does NOT work for chattr attributes
"Vincent Callanan" <[email protected]> Fri, 21 Sep 2007 16:21:30 +0100
| Newsgroups | gmane.comp.archivers.star.user |
|---|---|
| Organization | RVJ Callanan & Associates |
| Message-ID | <000501c7fc63$1dcd63b0$c704a8c0@HPN01X> |
> OK, what you get from chartte is just a few "free" bits from > the UFS on disk > inode. so -xfflags should preserve immutable flag, right? but they don't on my installation. That's when I started trying -xattr ;-) > File flags are implemented since 2001. > Star should support to completely restore the file flags. > If you have a problem, send a tar archive with a single empty > file that cannot > be restored correctly. I have attached a star archive of a single empty file. Here's what I did to create it. # cd ~ # mkdir src # cd src # touch test # chattr +i test # lsattr ----i------------ ./test # cd .. # mkdir dst # star -cp -xfflags -C ~/src . f=src.star # star -xp -xfflags -C ~/dst f=src.star # cd dst # lsattr ----------------- ./test So clearly, immutable flag is not preserved in backup/restore process on my Linux box. I also tried -Hexustar option (just in case it is not the default) but that did not make any difference. BTW, there is a note in man page about -xfflags on Linux being "buggy by design" (wonderful expression!!). Is that just historical or is it still the case? Vincent _______________________________________________ Star-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/star-users
src.star
(application/octet-stream, 10 KB) - not displayed