[GH-ISSUE #2637] undocumented location of a profile files #1667

Closed
opened 2026-05-05 08:18:53 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @ohbutgtol on GitHub (Apr 4, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2637

Hello.
Thank for your work, and for you being.
Let me be short.

System: sparkylinux (rolling dist. based on debian testing)
Firejail version 0.9.59
Firejail installation time 2* march 2019

Installation method was by cloning from github:
git clone https://github.com/netblue30/firejail.git
cd firejail
./configure && make && sudo make install-strip
firecfg --fix-sound
sudo firecfg

Issue:
A profile files of firejail had been located in /usr/local/etc/firejail/
No installed man files of firejail-profile, no available in the internet manuals and tutorials don’t mention such possibility
P.S Firejail work fine. Thank you one more time.

Originally created by @ohbutgtol on GitHub (Apr 4, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2637 Hello. Thank for your work, and for you being. Let me be short. **System**: sparkylinux (rolling dist. based on debian testing) **Firejail version 0.9.59** Firejail installation time 2* march 2019 **Installation method** was by cloning from github: `git clone https://github.com/netblue30/firejail.git` `cd firejail` `./configure && make && sudo make install-strip` `firecfg --fix-sound` `sudo firecfg` **Issue:** A profile files of firejail had been located in /usr/local/etc/firejail/ No installed man files of firejail-profile, no available in the internet manuals and tutorials don’t mention such possibility P.S Firejail work fine. Thank you one more time.
gitea-mirror 2026-05-05 08:18:53 -06:00
Author
Owner

@ghost commented on GitHub (Apr 6, 2019):

@ohbutgtol Greetings.

A profile files of firejail had been located in /usr/local/etc/firejail/

You can fine tune installation directories by adding options to the ./configure command. Run ./configure --help for available options. Adding --prefix=/usr should take care of this. Perhaps you can take some inspiration from the included shell files to create installable Debian packages:

As for online man pages, there's the official https://firejail.wordpress.com/ site (look under 'features'). Linux man pages are widely available on the internets, including https://manpages.debian.org/, to name one that should fit your OS.

Hope this helps, regards.

<!-- gh-comment-id:480471929 --> @ghost commented on GitHub (Apr 6, 2019): @ohbutgtol Greetings. > A profile files of firejail had been located in /usr/local/etc/firejail/ You can fine tune installation directories by adding options to the ./configure command. Run `./configure --help` for available options. Adding `--prefix=/usr` should take care of this. Perhaps you can take some inspiration from the included shell files to create installable Debian packages: - [with](https://github.com/netblue30/firejail/blob/master/mkdeb-apparmor.sh) AppArmor; - [without](https://github.com/netblue30/firejail/blob/master/mkdeb.sh) AppArmor. As for online man pages, there's the official https://firejail.wordpress.com/ site (look under 'features'). Linux man pages are widely available on the internets, including https://manpages.debian.org/, to name one that should fit your OS. Hope this helps, regards.
Author
Owner

@curiosity-seeker commented on GitHub (Apr 20, 2019):

Adding to @glitsj16 's post, this is how I do it:

cd ~
rm -rf ~/firejail
git clone https://github.com/netblue30/firejail.git
cd firejail
./configure --prefix=/usr --enable-apparmor
make
sudo make install

sudo firecfg

sudo chown -c root:firejail /usr/bin/firejail
sudo chmod -c 4750 /usr/bin/firejail

The last 2 lines match the suggestions given here (assuming that the firejail group already exists). I'm doing this although sudo firecfg already adds the current user to the Firejail user access databse.

<!-- gh-comment-id:485126120 --> @curiosity-seeker commented on GitHub (Apr 20, 2019): Adding to @glitsj16 's post, this is how I do it: ``` cd ~ rm -rf ~/firejail git clone https://github.com/netblue30/firejail.git cd firejail ./configure --prefix=/usr --enable-apparmor make sudo make install sudo firecfg sudo chown -c root:firejail /usr/bin/firejail sudo chmod -c 4750 /usr/bin/firejail ``` The last 2 lines match the suggestions given [here](https://firejail.wordpress.com/documentation-2/basic-usage/#suid) (assuming that the firejail group already exists). I'm doing this although `sudo firecfg` already adds the current user to the Firejail user access databse.
Author
Owner

@chiraag-nataraj commented on GitHub (May 20, 2019):

Going to close since it looks like the OP's question was answered.

<!-- gh-comment-id:494036207 --> @chiraag-nataraj commented on GitHub (May 20, 2019): Going to close since it looks like the OP's question was answered.
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#1667
No description provided.