-
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
Unable to select a folder for creating the very first graph #33
Comments
Hi, were you trying to open a directory outside of the $HOME dir? The default permission of the flatpak only allows the app to access files inside $HOME. If you need you can use the Flatseal tool to adjust the permissions. |
@kanru no it was an empty subdirectory in my $HOME dir |
I see. Could you share your distro and desktop environment version?
The last two lines shows Logseq was trying to open a folder |
I am using fedora-37 server edition, with sway-1.7 as the desktop compositor for wayland |
Yes, I agree this is unexpected. I think there are two bugs
I'll try to reproduce both issues. Did you follow any guide to setup your bare-bone installation? |
I can reproduce similar error message by either ln -s /mnt $HOME/local or mkdir $HOME/local
chmod a-rwx $HOME/local And then try to open the In both cases, I think there's a bug in Logseq as it should show an access denied warning. |
Nope. Just installed fedora-37 server edition. Then installed sway (which brought in display deps) |
The upstream issue is closed, and the fix from logseq/logseq#8200 was included with logseq/logseq@2e374f7 in the 0.8.17 release. Is this eventually fixed for the Flatpak as well? The link case seems to be covered by #32. |
The upstream issue is fixed, accessing folders without sufficient permission will show an error. I also tested opening a folder symlinked to home and it seems to work.
When opened in Logseq it shows the sandboxed user folder, but the rest works fine
|
On launching LogSeq it shows a tutorial graph. It then asks to select a folder to create a new graph at the end of the tutorial.
However I am unable to select a folder to start a new graph. The application does nothing and takes me back to the select folder screen.
Relevant Logs:
This issue only occurs if I install logseq via flatpak. I compiled the application from source and it was able to access disk for creating a new graph.
Also worth noting that once it worked with the compiled app, it started working with the flatpak installed app as well.
I added an issue on the logseq repo, I was redirected here. It seems like flatpak installation is not getting correct permissions.
The text was updated successfully, but these errors were encountered: