[GH-ISSUE #726] Option inconsistency: relative/absolute paths #494

Open
opened 2026-05-05 05:58:31 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @lheckemann on GitHub (Aug 17, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/726

Some options require absolute paths, but this is not documented. For instance, --whitelist=. doesn't work (so I often write --whitelist=$PWD). Other options like --private=. work fine. Could this inconsistency be removed or explained in the documentation?

Originally created by @lheckemann on GitHub (Aug 17, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/726 Some options require absolute paths, but this is not documented. For instance, `--whitelist=.` doesn't work (so I often write `--whitelist=$PWD`). Other options like `--private=.` work fine. Could this inconsistency be removed or explained in the documentation?
gitea-mirror added the
bug
label 2026-05-05 05:58:31 -06:00
Author
Owner

@netblue30 commented on GitHub (Aug 18, 2016):

I'll look into it, thanks for the bug.

<!-- gh-comment-id:240724171 --> @netblue30 commented on GitHub (Aug 18, 2016): I'll look into it, thanks for the bug.
Author
Owner

@chiraag-nataraj commented on GitHub (Jul 25, 2018):

@netblue30 Maybe we can resolve relative paths for whitelist?

<!-- gh-comment-id:407929342 --> @chiraag-nataraj commented on GitHub (Jul 25, 2018): @netblue30 Maybe we can resolve relative paths for `whitelist`?
Author
Owner

@chiraag-nataraj commented on GitHub (May 21, 2019):

This is still an issue. --whitelist=.config, for example, will error out saying that .config is an invalid path.

<!-- gh-comment-id:494593768 --> @chiraag-nataraj commented on GitHub (May 21, 2019): This is still an issue. `--whitelist=.config`, for example, will error out saying that `.config` is an invalid path.
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#494
No description provided.