-
Notifications
You must be signed in to change notification settings - Fork 395
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
extracting tar.gz
archive doesn't preserve permissions
#1864
Comments
Yazi uses |
Indeed,
I guess this also applies when extracting
What about using |
My main concern about doing this is that they're not interchangeable alternatives; For example, when users report a problem with Plus, since I plan to eventually implement my own extraction tool to replace |
I didn't know about that upcoming extraction tool, I completely agree with you in this case. I assume it will handle permissions correctly. Feel free to close this. In the meantime, I'll just extract manually with Thanks! |
OK close for now. If I still don't have enough time to finish my own extraction tool this year, I'll reconsider the idea of using |
What system are you running Yazi on?
Linux X11
What terminal are you running Yazi in?
kitty 0.36.4
yazi --debug
outputDescribe the bug
When extracting a
.tar.gz
archive, directories and files permissions from the archive aren't preserved. After extraction, directories all have700
permissions and files all have644
permissions.This could be avoided by using
tar
-p, --preserve-permissions
option.Minimal reproducer
755
permissions) and any other kind of file with600
permissions to atar.gz
archive<Enter>
700
permissions instead of755
; all files have644
permissionstar
-p, --preserve-permissions
option:tar -pxvzf
or withArk
Anything else?
No response
Validations
yazi --debug
) input box to the nightly that I triedmv ~/.config/yazi ~/.config/yazi-backup
)The text was updated successfully, but these errors were encountered: