EACCESS_DENIED when following symlink in $HOME outside of $HOME
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- linux
- Domain
- operating-systems, security
Research direction
Start by reproducing the directory chooser flow with a symlink from $HOME to a directory outside it, then inspect the sandbox paths under /run/user/1000/doc and the permissions granted through Flatseal. Done means the selected graph can be written without manually granting both the inner symlink and outer real path.
Written by the indexing model from the issue text.
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.
- Dominant language
- Shell
- Stars
- 22
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flathub/com.logseq.Logseq
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
flathub/com.logseq.Logseq#204 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
flathub/com.logseq.Logseq#203 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
flathub/com.logseq.Logseq#189 · 7 comments ·
-
new db/og flatpak Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
flathub/com.logseq.Logseq#188 · 19 comments · 5 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
flathub/com.logseq.Logseq#174 · 5 comments ·
All issues in flathub/com.logseq.Logseq
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
technical-debt
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ll7/robot_sf_ll7#9560 ·
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100