Firejail: Allow folder from USB device mounted in /mnt/

Created on 5 May 2018  路  5Comments  路  Source: netblue30/firejail

I鈥檓 using Firejail with Firefox in Ubuntu 18.04 LTS. I need to allow a specific folder in Firejail to set the Downloads folder in Firefox. The folder is on an USB device, mounted at /mnt/stuff/. How to set up Firejail, in order to select the folder /mnt/stuff/ in Firefox (for Downloads)? I tried to add whitelist /mnt/stuff in the file /etc/firejail/whitelist-common.inc but it鈥檚 not working, Firefox can鈥檛 access to that folder.

information

Most helpful comment

Hi @Philippe734, with whitelist /mnt/stuff you're already halfway there.
In addition put ignore disable-mnt into /etc/firejail/firefox.local, that should get it running.

All 5 comments

Hi @Philippe734, with whitelist /mnt/stuff you're already halfway there.
In addition put ignore disable-mnt into /etc/firejail/firefox.local, that should get it running.

It's works, thanks !

Hi, using Firejail 0.9.54 on Kubuntu 18.04 LTS, I can't access files or more to the point can't see what's in a file on my WD Passport drive attached to my Asus RT-AC86U router, file is bank and I get ark errors etc. where and what file do I edit to allow for this, thank you so much.

@GeoffK59
if it is directly attached to your computer see https://github.com/netblue30/firejail/issues/1925#issuecomment-386812752

if it is connected to your router see #1560

@SkewedZeppelin thank you for responding so quickly, yes it's attached to my router.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

francoism90 picture francoism90  路  4Comments

HulaHoopWhonix picture HulaHoopWhonix  路  4Comments

dandelionred picture dandelionred  路  3Comments

reinerh picture reinerh  路  3Comments

semente picture semente  路  4Comments