Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why is {PICTURES}/folder not working? #2346

Closed
ghost opened this issue Jan 18, 2019 · 2 comments
Closed

why is {PICTURES}/folder not working? #2346

ghost opened this issue Jan 18, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jan 18, 2019

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
@ghost ghost changed the title cannot mkdir {PICTURES}/file? why is {PICTURES}/file not working? Jan 18, 2019
@ghost ghost changed the title why is {PICTURES}/file not working? why is {PICTURES}/folder not working? Jan 18, 2019
@ghost ghost closed this as completed Jan 18, 2019
@chiraag-nataraj
Copy link
Collaborator

chiraag-nataraj commented Jan 20, 2019

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

@chiraag-nataraj chiraag-nataraj added the bug Something isn't working label Jan 20, 2019
@ghost
Copy link
Author

ghost commented Jan 21, 2019

ha crap i have opened another one meanwhile sorry #2359

@ghost ghost closed this as completed Jan 21, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant