Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archive should preserve the extended attributes #467

Open
omar-polo opened this issue Feb 11, 2025 · 1 comment
Open

archive should preserve the extended attributes #467

omar-polo opened this issue Feb 11, 2025 · 1 comment

Comments

@omar-polo
Copy link
Contributor

maybe we should have something to preserve these xattrs on archives. GNU tar has (obviously) an option for this.

this actually still has to be discussed, noting it here to avoid forgetting it.

@glycerine
Copy link

Modification time should be preserved; not sure if that is under xattrs, but as of plakar v0.4.22-alpha, modtime is not restored:

$ ls -al znew # mod time on the restored file is the write time
-rwxr-xr-x 1 jaten jaten 5071 Feb 17 20:09 znew
$ ls -al /bin/znew # which does not match the mod time on the original backedup file.
-rwxr-xr-x 1 root root 5071 Apr  8  2022 /bin/znew
$ 
$  stat /bin/znew
  File: /bin/znew
  Size: 5071            Blocks: 16         IO Block: 4096   regular file
Device: 10303h/66307d   Inode: 1048690     Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2022-04-14 06:18:31.000000000 -0500
Modify: 2022-04-08 06:12:17.000000000 -0500
Change: 2022-04-14 06:18:31.999302147 -0500
 Birth: -
$ stat znew
  File: znew
  Size: 5071            Blocks: 16         IO Block: 4096   regular file
Device: 10303h/66307d   Inode: 79715547    Links: 1
Access: (0755/-rwxr-xr-x)  Uid: ( 1000/   jaten)   Gid: ( 1000/   jaten)
Access: 2025-02-17 20:09:48.898326320 -0600
Modify: 2025-02-17 20:09:48.902326410 -0600
Change: 2025-02-17 20:09:48.902326410 -0600
 Birth: -
 $ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants