[GH-ISSUE #741] Whitelisting symlink doesn't work #502

Closed
opened 2026-05-05 05:59:46 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @ghost on GitHub (Aug 21, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/741

It seems symlink support had already been added https://github.com/netblue30/firejail/issues/386
However, my /home/user/.cache/ is symlinked to a tmpfs volume and I receive the following messages when trying to execute Firefox:
Error: invalid whitelist path /home/user/.cache/mozilla/firefox
Error: cannot establish communication with the parent, exiting...

Originally created by @ghost on GitHub (Aug 21, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/741 It seems symlink support had already been added https://github.com/netblue30/firejail/issues/386 However, my /home/user/.cache/ is symlinked to a tmpfs volume and I receive the following messages when trying to execute Firefox: Error: invalid whitelist path /home/user/.cache/mozilla/firefox Error: cannot establish communication with the parent, exiting...
gitea-mirror 2026-05-05 05:59:46 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@chiraag-nataraj commented on GitHub (Aug 21, 2016):

Just as an aside, you can do what I do and whitelist only the folders that should be permanent (~/.mozilla, various GTK config files, ~/Downloads). That way, everything else will automatically be stored on a tmpfs. This does become a pain though if you have a large number of folders to whitelist.

<!-- gh-comment-id:241261624 --> @chiraag-nataraj commented on GitHub (Aug 21, 2016): Just as an aside, you can do what I do and whitelist only the folders that should be permanent (~/.mozilla, various GTK config files, ~/Downloads). That way, everything else will automatically be stored on a tmpfs. This does become a pain though if you have a large number of folders to whitelist.
Author
Owner

@ghost commented on GitHub (Aug 21, 2016):

@chiraag-nataraj good idea, seems to work! Though now Firefox complains it isn't "my default browser".

<!-- gh-comment-id:241264258 --> @ghost commented on GitHub (Aug 21, 2016): @chiraag-nataraj good idea, seems to work! Though now Firefox complains it isn't "my default browser".
Author
Owner

@chiraag-nataraj commented on GitHub (Aug 21, 2016):

@bryce-lynch I sometimes get that. Usually I just uncheck "Always check if Firefox is your default browser" and that goes away (it's unchecked in my preferences).

<!-- gh-comment-id:241268079 --> @chiraag-nataraj commented on GitHub (Aug 21, 2016): @bryce-lynch I sometimes get that. Usually I just uncheck "Always check if Firefox is your default browser" and that goes away (it's unchecked in my preferences).
Author
Owner

@netblue30 commented on GitHub (Sep 6, 2016):

It seems to be working fine for me. I'll close the bug, if you are still having problems, I'll reopen it.

<!-- gh-comment-id:244937356 --> @netblue30 commented on GitHub (Sep 6, 2016): It seems to be working fine for me. I'll close the bug, if you are still having problems, I'll reopen it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#502
No description provided.