diff options
author | netblue30 <netblue30@yahoo.com> | 2017-05-01 21:28:10 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-05-01 21:28:10 -0400 |
commit | 7c38c3c0262dcc1ec4d69743376f36e7108e76bf (patch) | |
tree | 31a98fef6566c2c720db5171c9dd89871ff24648 /etc/disable-common.inc | |
parent | Fix conffiles typo (diff) | |
download | firejail-7c38c3c0262dcc1ec4d69743376f36e7108e76bf.tar.gz firejail-7c38c3c0262dcc1ec4d69743376f36e7108e76bf.tar.zst firejail-7c38c3c0262dcc1ec4d69743376f36e7108e76bf.zip |
fix trash functionality for file managers
Diffstat (limited to 'etc/disable-common.inc')
-rw-r--r-- | etc/disable-common.inc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/etc/disable-common.inc b/etc/disable-common.inc index 521fed37d..1c1b298a9 100644 --- a/etc/disable-common.inc +++ b/etc/disable-common.inc | |||
@@ -181,13 +181,19 @@ read-only ${HOME}/.gem | |||
181 | read-only ${HOME}/.luarocks | 181 | read-only ${HOME}/.luarocks |
182 | read-only ${HOME}/.npm-packages | 182 | read-only ${HOME}/.npm-packages |
183 | 183 | ||
184 | ########################### | ||
185 | # The following block breaks trash functionality in file managers | ||
186 | ########################## | ||
184 | # Make the contents of ~/.local read-only, | 187 | # Make the contents of ~/.local read-only, |
185 | # except the commonly-used ~/.local/share, | 188 | # except the commonly-used ~/.local/share, |
186 | # but including ~/.local/share/applications | 189 | # but including ~/.local/share/applications |
187 | read-only ${HOME}/.local | 190 | #read-only ${HOME}/.local |
188 | read-write ${HOME}/.local/share | 191 | #read-write ${HOME}/.local/share |
189 | noexec ${HOME}/.local/share | 192 | #noexec ${HOME}/.local/share |
190 | read-only ${HOME}/.local/share/applications | 193 | read-only ${HOME}/.local/share/applications |
194 | blacklist ${HOME}/.local/share/Trash | ||
195 | |||
196 | |||
191 | 197 | ||
192 | # top secret | 198 | # top secret |
193 | blacklist ${HOME}/.ecryptfs | 199 | blacklist ${HOME}/.ecryptfs |