[GH-ISSUE #2346] why is {PICTURES}/folder not working? #1566

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

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

hello for flameshot profile i need to noblacklist/whitelist/mkdir {PICTURES}/Screenshots but i have the following error:

Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Error: "${PICTURES}/Screenshots" is an invalid filename
# Firejail profile 
noblacklist ${PICTURES}/Screenshots
noblacklist ${HOME}/.config/Dharkael

mkdir ${PICTURES}/Screenshots
mkdir ${HOME}/.config/Dharkael

whitelist ${PICTURES}/Screenshots
whitelist ${HOME}/.config/Dharkael

include disable-common.inc
include disable-devel.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc
include disable-xdg.inc

include whitelist-common.inc
include whitelist-var-common.inc

caps.drop all
ipc-namespace
netfilter
no3d
# nodbus
nodvd
nogroups
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix,inet,inet6
seccomp
shell none

disable-mnt
private-bin flameshot
private-cache
private-etc fonts,ld.so.conf,resolv.conf,ca-certificates,ssl,pki,crypto-policies
private-dev
private-tmp
private-srv none
private-opt none

#memory-deny-write-execute
noexec ${HOME}
noexec /tmp
Originally created by @ghost on GitHub (Jan 18, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2346 hello for flameshot profile i need to noblacklist/whitelist/mkdir {PICTURES}/Screenshots but i have the following error: ``` Reading profile /etc/firejail/whitelist-common.inc Reading profile /etc/firejail/whitelist-var-common.inc Error: "${PICTURES}/Screenshots" is an invalid filename ``` ``` # Firejail profile noblacklist ${PICTURES}/Screenshots noblacklist ${HOME}/.config/Dharkael mkdir ${PICTURES}/Screenshots mkdir ${HOME}/.config/Dharkael whitelist ${PICTURES}/Screenshots whitelist ${HOME}/.config/Dharkael include disable-common.inc include disable-devel.inc include disable-interpreters.inc include disable-passwdmgr.inc include disable-programs.inc include disable-xdg.inc include whitelist-common.inc include whitelist-var-common.inc caps.drop all ipc-namespace netfilter no3d # nodbus nodvd nogroups nonewprivs noroot nosound notv nou2f novideo protocol unix,inet,inet6 seccomp shell none disable-mnt private-bin flameshot private-cache private-etc fonts,ld.so.conf,resolv.conf,ca-certificates,ssl,pki,crypto-policies private-dev private-tmp private-srv none private-opt none #memory-deny-write-execute noexec ${HOME} noexec /tmp ```
gitea-mirror 2026-05-05 08:13:34 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@chiraag-nataraj commented on GitHub (Jan 20, 2019):

This is interesting, actually. ${HOME}/Pictures/Screenshots works, but ${PICTURES}/Screenshots does not. Something to investigate.

<!-- gh-comment-id:455878853 --> @chiraag-nataraj commented on GitHub (Jan 20, 2019): This is interesting, actually. `${HOME}/Pictures/Screenshots` works, but `${PICTURES}/Screenshots` does not. Something to investigate.
Author
Owner

@ghost commented on GitHub (Jan 21, 2019):

ha crap i have opened another one meanwhile sorry https://github.com/netblue30/firejail/issues/2359

<!-- gh-comment-id:455950625 --> @ghost commented on GitHub (Jan 21, 2019): ha crap i have opened another one meanwhile sorry https://github.com/netblue30/firejail/issues/2359
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#1566
No description provided.