summaryrefslogtreecommitdiff
path: root/test/empty_file
diff options
context:
space:
mode:
authorjvoisin2014-02-01 04:32:52 +0000
committerjvoisin2014-02-01 04:32:52 +0000
commitd23b55231433c13c0a0e7b62ee460bfdbe8b59cd (patch)
tree1ae332862d598c2bbe2bf1b72f9a309339c59e71 /test/empty_file
parenta9b3e8a08223f8582a1c96051add2d06c5101838 (diff)
Fix https://labs.riseup.net/code/issues/6627
This commit changes `chmod 777` to `chmod 220` in the secure_remove() function. Sinc ethis function is meant to remove files, 777 is ok-ish, but 220 is safer, and cleaner. Plus, it prevents audacious TOCTOU.
Diffstat (limited to 'test/empty_file')
0 files changed, 0 insertions, 0 deletions