Skip to content
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

Flatpak: Regain access to HOME #118

Merged
merged 1 commit into from
Jan 26, 2024
Merged

Flatpak: Regain access to HOME #118

merged 1 commit into from
Jan 26, 2024

Conversation

ryonakano
Copy link
Owner

Fixes #113
Fixes #64
Fixes #61

While it it ideal to restrict filesystem permission, we've faced several issues due to this:

  • Created desktop entries disappear after reboot/upgrade
  • The path displayed in the entry is weird (/run/user/1000/...)

I thought making Pin It! copy the executable and icon files to ~/.local/share/applications where the desktop file is saved, because it would keep the filesystem permission as small as possible. However, it would need more considerations like the case when the size of the executable or icon file is huge (maybe we need some kind of the progress dialog...)

Considering these side effects, I think regaining access to HOME is simpler and better decision here.

While it it ideal to restrict filesystem permission, we've faced
several issues due to this:

- Created desktop entries disappear after reboot/upgrade
- The path displayed in the entry is weird (/run/user/1000/...)

I thought making Pin It! copy the executable and icon files to
~/.local/share/applications where the desktop file is saved,
because it would keep the filesystem permission as small as possible.
However, it would need more considerations like the case when the size of
the executable or icon file is huge (maybe we need some kind of
the progress dialog...)

Considering these side effects, I think regaining access to HOME
is simpler and better decision here.
@ryonakano ryonakano merged commit c8d012a into main Jan 26, 2024
3 checks passed
@ryonakano ryonakano deleted the regain-home-access branch January 26, 2024 12:20
@seathasky
Copy link

Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pinned entries do not persist after reboot Program uses different directory when browsing path of executable
2 participants