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.
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.
Most helpful comment
Hi @Philippe734, with
whitelist /mnt/stuffyou're already halfway there.In addition put
ignore disable-mntinto /etc/firejail/firefox.local, that should get it running.