diff options
author | 2021-02-09 14:01:37 -0300 | |
---|---|---|
committer | 2021-02-09 17:27:33 +0000 | |
commit | 8e8346f8658228f798c944328c4104758c5e9bdc (patch) | |
tree | 46ef3d4f425bd5fdb42dc83cebca796a9849b6d0 /etc | |
parent | adding DISPLAY to env_whitelist (diff) | |
download | firejail-8e8346f8658228f798c944328c4104758c5e9bdc.tar.gz firejail-8e8346f8658228f798c944328c4104758c5e9bdc.tar.zst firejail-8e8346f8658228f798c944328c4104758c5e9bdc.zip |
Revert "etc: use ${DOCUMENTS} macro where appropriate"
This reverts commit 5df1f27c638c487dfd664ea3a0f756565e1e57bd.
That commit breaks things, as pointed out by @rusty-snake[1]:
> @kmk3 @glitsj16 The xdg macros are treated literally if they have sub
> components (#2359):
>
> ```
> Error: "${DOCUMENTS}/KeePassXC" is an invalid filename: rejected character: "{"
> ```
[1]: https://github.com/netblue30/firejail/commit/3fa2927c3c1c5cf583864746538ea791c1ba2dc4#commitcomment-46913219
Diffstat (limited to 'etc')
-rw-r--r-- | etc/profile-a-l/keepassxc.profile | 6 | ||||
-rw-r--r-- | etc/profile-m-z/Mathematica.profile | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/etc/profile-a-l/keepassxc.profile b/etc/profile-a-l/keepassxc.profile index 365db64aa..3ad779a12 100644 --- a/etc/profile-a-l/keepassxc.profile +++ b/etc/profile-a-l/keepassxc.profile | |||
@@ -31,9 +31,9 @@ include disable-shell.inc | |||
31 | include disable-xdg.inc | 31 | include disable-xdg.inc |
32 | 32 | ||
33 | # You can enable whitelisting for keepassxc by uncommenting (or adding to you keepassxc.local) the following lines. | 33 | # You can enable whitelisting for keepassxc by uncommenting (or adding to you keepassxc.local) the following lines. |
34 | # If you do so, you MUST store your database under ${DOCUMENTS}/KeePassXC/foo.kdbx | 34 | # If you do so, you MUST store your database under ${HOME}/Documents/KeePassXC/foo.kdbx |
35 | #mkdir ${DOCUMENTS}/KeePassXC | 35 | #mkdir ${HOME}/Documents/KeePassXC |
36 | #whitelist ${DOCUMENTS}/KeePassXC | 36 | #whitelist ${HOME}/Documents/KeePassXC |
37 | # Needed for KeePassXC-Browser | 37 | # Needed for KeePassXC-Browser |
38 | #mkfile ${HOME}/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json | 38 | #mkfile ${HOME}/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json |
39 | #whitelist ${HOME}/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json | 39 | #whitelist ${HOME}/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json |
diff --git a/etc/profile-m-z/Mathematica.profile b/etc/profile-m-z/Mathematica.profile index 0f79b6a97..c2734b1c1 100644 --- a/etc/profile-m-z/Mathematica.profile +++ b/etc/profile-m-z/Mathematica.profile | |||
@@ -16,10 +16,10 @@ include disable-programs.inc | |||
16 | 16 | ||
17 | mkdir ${HOME}/.Mathematica | 17 | mkdir ${HOME}/.Mathematica |
18 | mkdir ${HOME}/.Wolfram Research | 18 | mkdir ${HOME}/.Wolfram Research |
19 | mkdir ${DOCUMENTS}/Wolfram Mathematica | 19 | mkdir ${HOME}/Documents/Wolfram Mathematica |
20 | whitelist ${HOME}/.Mathematica | 20 | whitelist ${HOME}/.Mathematica |
21 | whitelist ${HOME}/.Wolfram Research | 21 | whitelist ${HOME}/.Wolfram Research |
22 | whitelist ${DOCUMENTS}/Wolfram Mathematica | 22 | whitelist ${HOME}/Documents/Wolfram Mathematica |
23 | include whitelist-common.inc | 23 | include whitelist-common.inc |
24 | 24 | ||
25 | caps.drop all | 25 | caps.drop all |