[GH-ISSUE #3103] User defined config directory #1942

Open
opened 2026-05-05 08:36:37 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @anupam-git on GitHub (Jan 1, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3103

Hello,

I have a specific case which requires me to put the config files in some other directory other than /etc/firejail and ~/.config/firejail.

I was hoping if this can be supported by firejail, as done by other libraries such as gstreamer, by allowing to provide a custom directory via an environment variable like FIREJAIL_CONFIG_DIR along with the default dirs.

Originally created by @anupam-git on GitHub (Jan 1, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3103 Hello, I have a specific case which requires me to put the config files in some other directory other than `/etc/firejail` and `~/.config/firejail`. I was hoping if this can be supported by firejail, as done by other libraries such as gstreamer, by allowing to provide a custom directory via an environment variable like `FIREJAIL_CONFIG_DIR` along with the default dirs.
gitea-mirror added the
enhancement
label 2026-05-05 08:36:37 -06:00
Author
Owner

@rusty-snake commented on GitHub (Jan 17, 2020):

👍

I would recommend something like config-dir ${HOME}/.config/firejail ${CFG} /custom/path in firejail.config instead of FIREJAIL_CONFIG_DIR.

<!-- gh-comment-id:575730723 --> @rusty-snake commented on GitHub (Jan 17, 2020): :+1: I would recommend something like `config-dir ${HOME}/.config/firejail ${CFG} /custom/path` in firejail.config instead of `FIREJAIL_CONFIG_DIR`.
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#1942
No description provided.