[GH-ISSUE #188] program can't create whitelisted file #132

Closed
opened 2026-05-05 05:08:09 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @rahiel on GitHub (Dec 6, 2015).
Original GitHub issue: https://github.com/netblue30/firejail/issues/188

Firefox with keysnail will try to create the config file (in ~/.keysnail.js) if it does not exist. It is whitelisted in the firejail profile, but the config file is created in the temporary filesystem: I can access it from within firefox, but it is not in my real home directory.

Firefox can access the config if it already exists before starting.

Originally created by @rahiel on GitHub (Dec 6, 2015). Original GitHub issue: https://github.com/netblue30/firejail/issues/188 Firefox with [keysnail](https://github.com/mooz/keysnail/wiki) will try to create the config file (in `~/.keysnail.js`) if it does not exist. It is whitelisted in the firejail profile, but the config file is created in the temporary filesystem: I can access it from within firefox, but it is not in my real home directory. Firefox can access the config if it already exists before starting.
Author
Owner

@netblue30 commented on GitHub (Dec 7, 2015):

It is a limitation of the current mount-bind technology I use for whitelisting. The file or the directory needs to be created by the user before whitelisting. I am not sure if this will ever get fixed.

<!-- gh-comment-id:162543305 --> @netblue30 commented on GitHub (Dec 7, 2015): It is a limitation of the current mount-bind technology I use for whitelisting. The file or the directory needs to be created by the user before whitelisting. I am not sure if this will ever get fixed.
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#132
No description provided.