From 2f45be1219d0faf4d40ec6c19b127c54ba479643 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 24 Dec 2021 20:52:54 +0100 Subject: MacOSX: make sure that no files inside VeraCrypt application bundle are world-writable. Currently, documentation HTML files and XML language files embedded inside VeraCrypt application bundle are world-writable. --- src/Setup/MacOSX/postinstall.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Setup/MacOSX/postinstall.sh b/src/Setup/MacOSX/postinstall.sh index 7ce14ffc..3db36d82 100755 --- a/src/Setup/MacOSX/postinstall.sh +++ b/src/Setup/MacOSX/postinstall.sh @@ -4,5 +4,7 @@ if !([ -e "/usr/local/lib/libfuse.2.dylib" ]) then ln -s /usr/local/lib/libosxfuse.2.dylib /usr/local/lib/libfuse.2.dylib fi - + +chmod -R o-w /Applications/VeraCrypt.app + exit 0 -- cgit v1.2.3