flathub / flathub/com.logseq.Logseq

EACCESS_DENIED when following symlink in $HOME outside of $HOME

Open
#32 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
22
Forks
17
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.