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

File access not working properly, popup appears in bucle #1529

Open
aonez opened this issue Oct 13, 2024 · 9 comments
Open

File access not working properly, popup appears in bucle #1529

aonez opened this issue Oct 13, 2024 · 9 comments
Assignees
Milestone

Comments

@aonez
Copy link
Owner

aonez commented Oct 13, 2024

Multiple users reported to have issues with file access. Seemingly it does not work and Keka is asking for file access over and over. More information and testing is needed since this is not being replicated at the moment.

#1525 (comment)
#1525 (comment)

If you have this issue please report your exact steps to reproduce the issue and the macOS version you're using. Also you can share your Keka settings by copying this file:

~/Library/Containers/com.aone.keka/Data/Library/Preferences/com.aone.keka.plist
@keif
Copy link

keif commented Oct 14, 2024

Apologies - I had been searching for an answer and that prior issue was the only "answer" I could find (because I was having "File Extraction Folder would not work" AND ALSO "would not save external access."

I'm now able to get it working, but I'm not sure which step "fixed" the issue:

  1. I ended up doing defaults delete com.aone.keka

  2. I blew away preferences at ~/Library/Containers/com.aone.keka/Data/Library/Preferences/com.aone.keka.plist

  3. I deleted keka.app (1.4.5)

  4. I deleted the keka external plugin

  5. reboot

  6. verify I had no keka plists

  7. downloaded a fresh copy of Keka 1.4.5 Release

For today it's now held the extraction location AND file access. But usually it crapped out and lost it after about 24 hours or so - I'm sitting on about 12 hours now, so I will try to update if this holds true!

Thanks for your hard work!

@salim-m
Copy link

salim-m commented Oct 16, 2024

I store large zip files on a NAS and use Keka to extract them, for some reason when I try it now it can't extract, always asks me where I want to extract to (in my case, in the same folder on my NAS), but doesn't work, the dialog keeps popping up.
I added full disk access to Keka in settings, I also tried to add the network share drive manually in Keka but the list stays empty.
Re-installed keka, still the same issue.

@aonez
Copy link
Owner Author

aonez commented Oct 16, 2024

@salim-m what macOS version are you using? Please try to right-click "Open" Keka and let me know if that fixes the issue.

Screenshot 2024-10-16 at 10 32 36

@salim-m
Copy link

salim-m commented Oct 16, 2024

@aonez I'm running macOS Sequoia 15.0.1, I don't know if right-click and "Open" fixed my issue honestly, but I tried to extract again by double clicking the archive (like I always do), prompted me to select a folder, and then it started extracting just fine. Weird.

@vanyasem
Copy link

vanyasem commented Oct 22, 2024

@aonez I have the same issue on Sequoia 15.0.1 (M1)
Opening with right click does not solve my issue
In addition to asking for permissions on each extraction, I am unable to add anything to "Customize folder access" list - it remains empty no matter what
I have tried giving Keka full disk access, but this does nothing

@vanyasem
Copy link

@aonez I do not have that issue on an another machine Sequoia on Intel

Latest changes I've done to my system consist of installing macFUSE, and enabling Kexts (reduced security) on my M1 mac. I doubt that's related though

@BienGudBoy
Copy link

BienGudBoy commented Dec 21, 2024

@vanyasem can you try resetting the macOS keychain?
Go to Keychain Access -> Settings -> Reset Default Keychains
I had the same issue as well (after an "upgrade" from Ventura to Sonoma), and basically any app with app isolation enabled will fail to get any permissions for file access.
It can be detected in the system log (when you request file access, a fail log by ScopedBookmarksAgent will show up, but confusingly, it is from com.apple.FileURL, saying that it couldn't read keys)
After resetting the keychain, everything was fixed.

@aonez aonez changed the title File access not working properly File access not working properly, popup appears in bucle Dec 21, 2024
@aonez
Copy link
Owner Author

aonez commented Dec 21, 2024

@BienGudBoy that will also remove all password and certificates saved, not sure that would be a good idea. If that fixed the issue for you, maybe checking what certificate/key was somehow breaking this functionality.

@BienGudBoy
Copy link

@BienGudBoy that will also remove all password and certificates saved, not sure that would be a good idea. If that fixed the issue for you, maybe checking what certificate/key was somehow breaking this functionality.

The good thing is it will move the old keychain to another one (for me it was login_renamed_1.keychain-db) which you can later open it with keychain access and copy the passwords/certs to the new one (otherwise I wouldn't be able to keep my Signal messages, wifi passwords, etc). But it is unencrypted so it's recommended to move the keys and delete it as soon as possible.
I did manage to find out the key itself com.apple.scopedbookmarksagent.xpc, but for some reasons deleting it doesn't cause the system to regenerate another one, and Keka keeps breaking after multiple restarts... Right upon I reset the entire keychain, it suddenly appeared without even a login/logout, and I was able to add full disk access permissions to Keka.
You can also reproduce this issue with another app like UTM for example. Usually you can pick an ISO to install an OS just fine. But if you are affected by this bug, it'll keep complaining about "missing permissions" despite giving it full disk access, which makes the app unusable because you can't install an OS in the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants