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] Un-sandboxing Keka break work Keka #1355

Closed
Drovosek01 opened this issue Nov 1, 2023 · 2 comments
Closed

[BUG] Un-sandboxing Keka break work Keka #1355

Drovosek01 opened this issue Nov 1, 2023 · 2 comments
Assignees
Labels

Comments

@Drovosek01
Copy link

Configuration

  • Keka version: 1.3.5 (5269)
  • macOS version: 12.7 (21G816) Intel

Describe the bug

Recently I noticed that when unpacking 7z archives using Keka (archives were also created using Keka) all unpacked files have a quarantine flag.
Here is a links to discuss this situation:
#544
#405

I executed the command as it is written here so that Keka does not work in the sandbox and so that the quarantine flag is not added
https://github.com/aonez/Keka/wiki/Rar-compression#un-sandbox-keka
codesign --force --deep --sign - /Applications/Keka.app

Now when I try to create or unpack any archive, I get error 4.

Error code 4 using "7zz"
Attempt to modify an archive previously locked

How can I prevent of adding a com.apple.quarantine attribute when Keka is running?

@Drovosek01
Copy link
Author

This is my mistake.
I executed command sudo codesign -f -d -s - /Applications/Keka.app and thought it was the same as command sudo codesign --force --deep --sign - /Applications/Keka.app just with shortened arguments for quick writing.

After executing the sudo codesign --force --deep --sign - /Applications/Keka.app command, everything works without problems and the quarantine attributes are not added.
Thanks again for the cool archiver!

@aonez
Copy link
Owner

aonez commented Nov 2, 2023

Glad to hear that @Drovosek01!

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