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

[Bug]: Incorrect directory permissions on .zip extracted content #274

Closed
1 task done
alexey-lysiuk opened this issue May 11, 2024 · 1 comment
Closed
1 task done
Labels

Comments

@alexey-lysiuk
Copy link

Confirmation

  • I have read the contributing guidelines

Version of Nimble Commander

v1.6.0 (4077), macOS 14.4.1

Distribution Type

Downloaded directly from the website

Expected Result

Permissions restoration of directories extracted from .zip archive to drwxr-xr-x.

Actual Result

Extracted directories have d--------- permissions.

Steps to reproduce

Create .zip archive without directory entries from command line.

mkdir temp
echo temp > temp/temp.txt
zip -rD temp.zip temp  # notice -D option: do not add directory entries

Upon extraction of temp.zip, e.g., by copying from one pane with the archive opened to another pane, permissions of temp directory are cleared.

...
d---------   3 user  staff      102 May 10 10:10 temp
...

Files and directories inside directory without an entry are extracted correctly, permissions are cleared though.

Additional Information

No response

@mikekazakov
Copy link
Owner

mikekazakov commented May 11, 2024

Thank you for the detailed bug report, I'll try to fix it ASAP.

mikekazakov added a commit that referenced this issue May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants