-
-
Notifications
You must be signed in to change notification settings - Fork 241
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] Some folders refuse to compress, Error code 2 #736
Comments
Maybe some permission issue or if it's an HDD some corruption? Try copy/paste the library first. |
I’ve given all the permissions possible for Keka I think (allowed permissions from Keka settings and also allowed full disk use from System Preferences just to be sure.) Duplicating the folder works fine. The folder I'm trying to compress is about 13 GB with 0.7TB free on the disk. |
I don't mean Keka permissions, meant file permissions per se, since this also fails with bundled compressor. Can you try TAR or DMG to see if at least there's a more concise error? |
I tried with TAR, it managed to compress quite a bit until it failed randomly- Checked file permissions and they should be ok |
It's an AFPS formatted disk? Maybe you can try copying it to an HFS+/exFAT first. Also you can try copy in the same disk but using ditto -V "/Volumes/Stuff 2 TB/Photos Library Archive/Photos Library copy 2.photoslibrary" "/Volumes/Stuff 2 TB/Photos Library Archive/Photos Library ditto copy.photoslibrary" Maybe we can see if there's an error in some file. |
The disk is in HFS+ format. I ran the command you sent and it copied without any errors. |
Does ISO/DMG also fail? |
Yup |
I suppose other folders in this disk can be compressed without issue. Not sure what is happening there. Maybe try in the Terminal to see if there's some tip there: zip -0 -r -v "/Volumes/Stuff 2 TB/Photos Library Archive/Photos Library ZIP test.zip" "/Volumes/Stuff 2 TB/Photos Library Archive/Photos Library copy 2.photoslibrary" |
Did you tried to compress it to another disk? #736 (comment) |
Yup, tried to zip in the downloads folder. Doesn't work. |
Configuration
Describe the bug
I can't compress some folders on an external drive. I keep getting error 2
Attach a log file reproducing the issue:
Keka.log
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Additional context
macOS's own compression system was failing too, which is why I was suggested to try Keka, but this is failing too.
The text was updated successfully, but these errors were encountered: