[GH-ISSUE #2074] Variables like ${DOWNLOADS} don't seem to work with blacklist #1402

Closed
opened 2026-05-05 08:04:01 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @chiraag-nataraj on GitHub (Jul 30, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2074

The only variable that seems to work with --blacklist is ${HOME}. I'm going to look into bringing support for the other variables into --blacklist.

Originally created by @chiraag-nataraj on GitHub (Jul 30, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/2074 The only variable that seems to work with `--blacklist` is `${HOME}`. I'm going to look into bringing support for the other variables into `--blacklist`.
gitea-mirror 2026-05-05 08:04:01 -06:00
Author
Owner

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

Hmm, this seems to be a mess because currently, the resolve_xdg and resolve_hardcoded functions in fs_whitelist.c (which would be useful to put in util.c so that it's usable in multiple places) are heavily integrated with the whitelist-specific portions. I will need to refactor a bit so that the parts that are whitelist-specific can be kept in fs_whitelist.c, while the more generic resolver parts can be put in util.c.

<!-- gh-comment-id:409030428 --> @chiraag-nataraj commented on GitHub (Jul 30, 2018): Hmm, this seems to be a mess because currently, the `resolve_xdg` and `resolve_hardcoded` functions in `fs_whitelist.c` (which would be useful to put in `util.c` so that it's usable in multiple places) are heavily integrated with the whitelist-specific portions. I will need to refactor a bit so that the parts that are whitelist-specific can be kept in `fs_whitelist.c`, while the more generic resolver parts can be put in `util.c`.
Author
Owner

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

Fixed by 123b2b1e25

<!-- gh-comment-id:409087751 --> @chiraag-nataraj commented on GitHub (Jul 31, 2018): Fixed by 123b2b1e256a17425afa32b238a9c448184f065b
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#1402
No description provided.