-
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
EACCESS_DENIED when following symlink in $HOME outside of $HOME #32
Comments
Is the file outside of $HOME? This is expected because the default sandbox only allows home access. It was chosen to balance ease of use and security. If you need to access files outside of home then using flatseal to grant more permissions is the right way. |
Yes, the files live outside of home. The Flatseal way works, but I would encourage people to use the absolute path without Symlink, for I haven't tested the other case. The display of the last path fragment of Could LogSeq try to find out if it is running in FlatPak, and if so, if the chosen directory will be a Else, what could we do to increase the system integration here? Will we resort back to the FlatPak default, and only claim paths in $HOME as valid sources for graphs? I'm open to any suggestions. |
I haven't test If we can use Let me find sometime to test portal + electron again. |
After adding a graph following a symlink in the directory chooser dialogue, it is not possible to write to it.
An EACCESS error is thrown: Permission denied.
This is due to the sandboxing of the inherited file system link and the created portal file system within
/run/user/1000/doc/by-app/com.logseq.Logseq/(.*)
and within/run/user/1000/doc/\1
.After giving direct access to the inner symlink path and the outer real path of the desired directory with Flatseal, and using its absolute real path within the directory chooser, the graph could be written again.
The text was updated successfully, but these errors were encountered: