Firejail and Mint 19.3 (Solved)
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Firejail and Mint 19.3 (Solved)
Hi guys,
I went from Mint 18.3 to 19.3 cinnamon yesterday, and am still working out some bugs. I'd like to firejail firefox but when I try I get:
"Error: Access was denied while trying to open files in your profile directory."
Firefox is working great, so I don't think it's a profile problem. Any help would be appreciated.
I went from Mint 18.3 to 19.3 cinnamon yesterday, and am still working out some bugs. I'd like to firejail firefox but when I try I get:
"Error: Access was denied while trying to open files in your profile directory."
Firefox is working great, so I don't think it's a profile problem. Any help would be appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- JoeFootball
- Level 13
- Posts: 4673
- Joined: Tue Nov 24, 2009 1:52 pm
- Location: /home/usa/mn/minneapolis/joe
Re: Firejail and Mint 19.3
Is that a Firejail error? Or a Firefox error?Cats wrote: "Error: Access was denied while trying to open files in your profile directory."
How are you deploying Firefox within Firejail?
Did you run firecfg after you installed Firejail?
Re: Firejail and Mint 19.3
I'm using a launch icon on the desktop, so it's a firejail error. The command line is firejail firefox.
No, but I'll give it a try!Did you run firecfg after you installed Firejail?
- JoeFootball
- Level 13
- Posts: 4673
- Joined: Tue Nov 24, 2009 1:52 pm
- Location: /home/usa/mn/minneapolis/joe
Re: Firejail and Mint 19.3
Cats wrote: No, but I'll give it a try!
sudo firecfg
Re: Firejail and Mint 19.3
Ran the command, and now I'm getting the same error "You're fiefox profile cannot be loaded." from firefox. --- One step forward and two steps back? LOL
Firefox profiles.ini is located in the mozilla / firefox folder -- so it's not missing.
Firefox profiles.ini is located in the mozilla / firefox folder -- so it's not missing.
- Pjotr
- Level 24
- Posts: 20129
- Joined: Mon Mar 07, 2011 10:18 am
- Location: The Netherlands (Holland) 🇳🇱
- Contact:
Re: Firejail and Mint 19.3
Try this:
1. Fix permissions in your /home:
2. Install the latest Firejail LTS:
https://easylinuxtipsproject.blogspot.c ... html#ID2.1
(item 2.1)
3. Test again.
1. Fix permissions in your /home:
Code: Select all
sudo chown -Rc $USER:$USER $HOME
https://easylinuxtipsproject.blogspot.c ... html#ID2.1
(item 2.1)
3. Test again.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Re: Firejail and Mint 19.3
I think I followed your steps ok Pjotr, but I'm getting a new error code of: no default.profile installed.
It's a new one.
It's a new one.
Re: Firejail and Mint 19.3
I probably should mention I can't get thunderbird to firejail either. -- I might have messed something up when I deleted firejail yesterday wanting to do a clean install.
Re: Firejail and Mint 19.3
According to the web page below, I'm missing firejail-default that should be located in /etc/apparmor.d And activated with: # apparmor_parser -r /etc/apparmor.d/firejail-default
https://wiki.archlinux.org/index.php/Fi ... ntegration
So a quick question... Is this something I could add with copy and paste if I could find the text?
https://wiki.archlinux.org/index.php/Fi ... ntegration
So a quick question... Is this something I could add with copy and paste if I could find the text?
Re: Firejail and Mint 19.3
I reinstalled 19.3, and followed the sudo apt get lines from this post: viewtopic.php?t=273533 and now the parent terminal comes up and firefox starts. Is there a way I can check and make sure it's working?
Re: Firejail and Mint 19.3
I get rid of the terminal and ff shuts down. It works!
- JoeFootball
- Level 13
- Posts: 4673
- Joined: Tue Nov 24, 2009 1:52 pm
- Location: /home/usa/mn/minneapolis/joe
Re: Firejail and Mint 19.3
Cats wrote: Is there a way I can check and make sure it's working?
firejail --list
will display all running instances.Re: Firejail and Mint 19.3 (Solved)
Tried the command and I'm good. Thanks for the help.
Re: Firejail and Mint 19.3 (Solved)
i have found out that if you build it from source it's a better option. i uninstalled the mint version which is in software manager (be sure there is no firejail on your system before building and create timeshift snapshot.
install build dependencies:
build firejail which will be installed in /usr/local
now any time you want to update, just use the build codes to refresh it
source: https://github.com/netblue30/firejail
install build dependencies:
Code: Select all
sudo apt-get install git build-essential libapparmor-dev pkg-config
Code: Select all
git clone https://github.com/netblue30/firejail.git
cd firejail
./configure && make && sudo make install-strip
source: https://github.com/netblue30/firejail
Code: Select all
mint03@mint03:~$ firejail --version
firejail version 0.9.63
Compile time support:
- AppArmor support is disabled
- AppImage support is enabled
- chroot support is enabled
- file and directory whitelisting support is enabled
- file transfer support is enabled
- firetunnel support is enabled
- networking support is enabled
- overlayfs support is enabled
- private-home support is enabled
- seccomp-bpf support is enabled
- user namespace support is enabled
- X11 sandboxing support is enabled
mint03@mint03:~$