From 7c38c3c0262dcc1ec4d69743376f36e7108e76bf Mon Sep 17 00:00:00 2001 From: netblue30 Date: Mon, 1 May 2017 21:28:10 -0400 Subject: fix trash functionality for file managers --- etc/disable-common.inc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'etc/disable-common.inc') 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 read-only ${HOME}/.luarocks read-only ${HOME}/.npm-packages +########################### +# The following block breaks trash functionality in file managers +########################## # Make the contents of ~/.local read-only, # except the commonly-used ~/.local/share, # but including ~/.local/share/applications -read-only ${HOME}/.local -read-write ${HOME}/.local/share -noexec ${HOME}/.local/share +#read-only ${HOME}/.local +#read-write ${HOME}/.local/share +#noexec ${HOME}/.local/share read-only ${HOME}/.local/share/applications +blacklist ${HOME}/.local/share/Trash + + # top secret blacklist ${HOME}/.ecryptfs -- cgit v1.2.3-70-g09d2