-
Notifications
You must be signed in to change notification settings - Fork 12
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
EACCES: permission denied: ~/.local/share/nvim/org-roam.nvim/db at installation #36
Comments
Hey, thanks for the bug report! Seems similar to the challenges tied to #30 for @KortanZ on Windows.
I'm surprised, why does the file or folder need execution permissions? The folder is only leveraged for reading and writing to the
This is also puzzling to me. I've used an M1 Mac Mini, M1 Macbook Air, and M1 Macbook Pro (Mac OS 14.4.1) and not hit this issue. What version of neovim are you using? The provenance attribute isn't on any of your existing folders when the |
It's kinda weird indeed. From my understanding The
But it's not clear if its mandatory to access files within the directory though, after a quick test, I guess it is. Or at least, it's easier.
So I just tested on the mac, and it seem that the In the same folder, the I'm on NeoVim 0.9.5 on both computers |
Cool, thanks for testing further! I'll update the default permissions we use for folder creation to include the execute permissions, and let you know here when it's rolled out. Sometime today. |
@SamuelLorrain I just pushed 7129a9d to see if the issue was on the directory permissions (set to 0o644 instead of 0o755) and not the file itself. I'm still not hitting these issues, and removed the Would you mind testing to see if it was the folder permissions that were the issue and not the file itself? |
Ok I just tested to reproduce with the last commit and it's working now. I no longer have the Thanks ! |
Great! Closing out the issue 😄 |
Hi !
First of all I wanted to thank you for this great piece of software.
For my usage it already does everything I need and its really cool to find
hidden gems like that !
Describe the bug
After the installation, I had this error message in vim :
While doing some investigation, I saw that the folder created for the local db doesn't have execution permission for my user:
chmod u+x ~/.local/share/nvim/org-roam.nvim
solved the problem in my case.To Reproduce
~/.local/share/nvim/org-roam.nvim
folder and his contentnvim
with the plugin installedExpected behavior
The error message should not be present, and
nvim
should be able to accessdb
file inorg-roam.nvim
folder.Environment
Additional context
I must also note that when trying to install the plugin on a Mac M1 on Sonoma (Mac OS 14.4) I had this problem plus another one.
The
org-roam.nvim
folder also had an extended attributecom.provenance.apple
in addition to not have the execution flag.I solved the problem using this conversation : apple.stackexchange
Thanks again !
The text was updated successfully, but these errors were encountered: