[GH-ISSUE #447] whitelist and mkdir uncertainty #320

Closed
opened 2026-05-05 05:35:43 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @curiosity-seeker on GitHub (Apr 17, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/447

man firejail-profile says:

whitelist file_or_directory

Build a new user home in a temporary filesystem, and mount-bind file_or_directory.
The modifications to file_or_directory are persistent, everything else is discarded
when the sandbox is closed.

and:

mkdir directory

Create a directory in user home. Use this command for whitelisted directories
you need to preserve when the sandbox is closed.

I'm afraid that from this description it will be unclear to many users why mkdir is actually necessary to preserve whitelisted directories although modifications to a whitelisted directory are "persistent". Aren't both sentences a bit contradictory? I think this should be clarified.

Originally created by @curiosity-seeker on GitHub (Apr 17, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/447 man firejail-profile says: ``` whitelist file_or_directory Build a new user home in a temporary filesystem, and mount-bind file_or_directory. The modifications to file_or_directory are persistent, everything else is discarded when the sandbox is closed. ``` and: ``` mkdir directory Create a directory in user home. Use this command for whitelisted directories you need to preserve when the sandbox is closed. ``` I'm afraid that from this description it will be unclear to many users why mkdir is actually necessary to preserve whitelisted directories although modifications to a whitelisted directory are "persistent". Aren't both sentences a bit contradictory? I think this should be clarified.
gitea-mirror 2026-05-05 05:35:43 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Apr 17, 2016):

Yes, I'll have to fix the description.

<!-- gh-comment-id:211012664 --> @netblue30 commented on GitHub (Apr 17, 2016): Yes, I'll have to fix the description.
Author
Owner

@netblue30 commented on GitHub (Apr 20, 2016):

Fixed, thanks.

<!-- gh-comment-id:212424898 --> @netblue30 commented on GitHub (Apr 20, 2016): Fixed, thanks.
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#320
No description provided.