[GH-ISSUE #1925] Allow folder from USB device mounted in /mnt/ #1287

Closed
opened 2026-05-05 07:47:43 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @Philippe734 on GitHub (May 5, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1925

I’m 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’s not working, Firefox can’t access to that folder.

Originally created by @Philippe734 on GitHub (May 5, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/1925 I’m 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’s not working, Firefox can’t access to that folder.
gitea-mirror 2026-05-05 07:47:43 -06:00
Author
Owner

@smitsohu commented on GitHub (May 5, 2018):

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.

<!-- gh-comment-id:386812752 --> @smitsohu commented on GitHub (May 5, 2018): 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.
Author
Owner

@Philippe734 commented on GitHub (May 5, 2018):

It's works, thanks !

<!-- gh-comment-id:386832111 --> @Philippe734 commented on GitHub (May 5, 2018): It's works, thanks !
Author
Owner

@ghost commented on GitHub (Jun 6, 2018):

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.

<!-- gh-comment-id:395211866 --> @ghost commented on GitHub (Jun 6, 2018): 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.
Author
Owner

@SkewedZeppelin commented on GitHub (Jun 6, 2018):

@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

<!-- gh-comment-id:395213127 --> @SkewedZeppelin commented on GitHub (Jun 6, 2018): @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
Author
Owner

@ghost commented on GitHub (Jun 6, 2018):

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

<!-- gh-comment-id:395214688 --> @ghost commented on GitHub (Jun 6, 2018): @SkewedZeppelin thank you for responding so quickly, yes it's attached to my router.
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#1287
No description provided.