[GH-ISSUE #2359] Support subpaths in macros (like ${PICTURES}/Screenshots) #1572

Closed
opened 2026-05-05 08:13:53 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @ghost on GitHub (Jan 21, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2359

Hello for flameshot I need to add mkdir ${PICTURES}/Screenshots but unfortunately subfolders are only supported for ${HOME}.
So with a whitelist profile the program is returning an error because there is no Screenshots folder and it looks like it can't create it, you need to create it manually (assuming that you have noblacklisted and whitelisted the whole ${PICTURES}).
Also for privacy it would be better to allow only a subfolder of Pictures instead of giving access to everything.

It would be very useful, thanks.

Originally created by @ghost on GitHub (Jan 21, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2359 Hello for flameshot I need to add `mkdir ${PICTURES}/Screenshots` but unfortunately subfolders are only supported for `${HOME}`. So with a whitelist profile the program is returning an error because there is no Screenshots folder and it looks like it can't create it, you need to create it manually (assuming that you have `noblacklist`ed and `whitelist`ed the whole `${PICTURES}`). Also for privacy it would be better to allow only a subfolder of Pictures instead of giving access to everything. It would be very useful, thanks.
gitea-mirror 2026-05-05 08:13:53 -06:00
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#1572
No description provided.