-
Notifications
You must be signed in to change notification settings - Fork 76
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
Does ouch support permissions like --xattrs
?
#626
Comments
These are all the functions I could find under
There's also a set_mode which might be the |
Tar.rs logicIt seems like the work flow of tar is: Compress
Decompress
Examples
|
I created an issue with tar-rs asking about acls: Further resources: |
Sorry for the late response. Unfortunately, I don't think I have the time to give guidance on how to approach this, but we could iterate on the solution in the PR review process. You're right, I like your idea of having a In the In conclusion, I approve this feature request and a PR (from you or someone else) would be welcomed for reviewing 👍. |
Discussed in #625
Originally posted by RyanGreenup February 10, 2024
It's common to use
tar
to backup up a home directory like so:Users can later extract this with:
bsdtar --acls --xattrs --numeric-owner -xpzf ${x} /mnt
Is there any support for those properties in Ouch? It would be convenient, atleast for me, if there was a command line flag like
-P
/--preserve-all-permissions
, then one could more simply:I had a look at the:
and the crate documentation suggests the following functions:
--xattrs
--preserve-permissions
--acls
--numeric-owner
We'd probably need to add this somewhere around src/archive/tar.rs
If you could offer some guidance, I can try and put together a PR if you'd like?
The text was updated successfully, but these errors were encountered: