diff options
author | 2022-12-01 04:42:23 -0300 | |
---|---|---|
committer | 2022-12-01 04:57:06 -0300 | |
commit | 9b87289d220193fe6063bb096fb85c2d9213d6e4 (patch) | |
tree | 960f7f60b582cc5787ba7a1d407dbb25fa72b1f2 /etc | |
parent | RELNOTES: add ci and docs items (diff) | |
download | firejail-9b87289d220193fe6063bb096fb85c2d9213d6e4.tar.gz firejail-9b87289d220193fe6063bb096fb85c2d9213d6e4.tar.zst firejail-9b87289d220193fe6063bb096fb85c2d9213d6e4.zip |
kcalc.profile: fix mkfile without mkdir
firejail may fail to create the following files:
* ~/.kde/share/config/kcalcrc
* ~/.kde4/share/config/kcalcrc
Because it does not create the preceding directories beforehand:
* ~/.kde/share/config
* ~/.kde4/share/config
See also commit 7f1906dba ("ktorrent.profile: fix mkfile without mkdir",
2022-10-11) / PR #5415.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/profile-a-l/kcalc.profile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/profile-a-l/kcalc.profile b/etc/profile-a-l/kcalc.profile index 18f1d4516..40fed2e2d 100644 --- a/etc/profile-a-l/kcalc.profile +++ b/etc/profile-a-l/kcalc.profile | |||
@@ -16,6 +16,8 @@ include disable-programs.inc | |||
16 | include disable-shell.inc | 16 | include disable-shell.inc |
17 | include disable-xdg.inc | 17 | include disable-xdg.inc |
18 | 18 | ||
19 | mkdir ${HOME}/.kde/share/config | ||
20 | mkdir ${HOME}/.kde4/share/config | ||
19 | mkdir ${HOME}/.local/share/kxmlgui5/kcalc | 21 | mkdir ${HOME}/.local/share/kxmlgui5/kcalc |
20 | mkfile ${HOME}/.config/kcalcrc | 22 | mkfile ${HOME}/.config/kcalcrc |
21 | mkfile ${HOME}/.kde/share/config/kcalcrc | 23 | mkfile ${HOME}/.kde/share/config/kcalcrc |