[GH-ISSUE #247] Fails if whitelisting a directrory that contains whitelisted file or symlink target #177

Closed
opened 2026-05-05 05:15:13 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @sinkuu on GitHub (Jan 21, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/247

$ ln -s .vimperator/vimprc .vimperatorrc
$ firejail --debug firefox

...

Whitelisting /home/$USER/.cache/mozilla/firefox
Whitelisting /home/$USER/.vimperator/vimprc
Created symbolic link /home/$USER/.vimperatorrc -> /home/$USER/.vimperator/vimprc
Whitelisting /home/$USER/.vimperator
Error mkdir:whitelist_path(266): File exists
Error: cannot establish communication with the parent, exiting...
Originally created by @sinkuu on GitHub (Jan 21, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/247 ``` bash $ ln -s .vimperator/vimprc .vimperatorrc $ firejail --debug firefox ... Whitelisting /home/$USER/.cache/mozilla/firefox Whitelisting /home/$USER/.vimperator/vimprc Created symbolic link /home/$USER/.vimperatorrc -> /home/$USER/.vimperator/vimprc Whitelisting /home/$USER/.vimperator Error mkdir:whitelist_path(266): File exists Error: cannot establish communication with the parent, exiting... ```
gitea-mirror 2026-05-05 05:15:13 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Jan 21, 2016):

I put a fix in git. Thanks for the bug.

<!-- gh-comment-id:173573719 --> @netblue30 commented on GitHub (Jan 21, 2016): I put a fix in git. Thanks for the bug.
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#177
No description provided.