[tor-commits] [tor-messenger-build/master] Fix OS X build permissions (see #19269)

sukhbir at torproject.org sukhbir at torproject.org
Tue Sep 6 00:36:52 UTC 2016


commit ec7a83c5e56f4c31faf212e549a7b41382596de8
Author: Sukhbir Singh <sukhbir at torproject.org>
Date:   Mon Sep 5 20:36:45 2016 -0400

    Fix OS X build permissions (see #19269)
---
 projects/tor-messenger/build.osx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/projects/tor-messenger/build.osx b/projects/tor-messenger/build.osx
index 5013d12..2c8bc83 100755
--- a/projects/tor-messenger/build.osx
+++ b/projects/tor-messenger/build.osx
@@ -55,11 +55,11 @@ cp $rootdir/background.png .background/
 cp $rootdir/DS_Store .DS_Store
 ln -s /Applications/ .
 
-find . -executable -exec chmod 750 {} \;
-find . ! -executable -exec chmod 640 {} \;
+find . -executable -exec chmod 755 {} \;
+find . ! -executable -exec chmod 644 {} \;
 find . -type f | sed -e 's/^\.\///' | sort | xargs -i echo "{}={}" > ../filelist.txt
 find . -type l | sed -e 's/^\.\///' | sort | xargs -i echo "{}={}" >> ../filelist.txt
 
-mkisofs -D -V "Tor Messenger" -no-pad -R -apple -o ../TorMessenger-uncompressed.dmg -path-list ../filelist.txt -graft-points -gid 20 -dir-mode 0750 -new-dir-mode 0750
+mkisofs -D -V "Tor Messenger" -no-pad -R -apple -o ../TorMessenger-uncompressed.dmg -path-list ../filelist.txt -graft-points -gid 20 -dir-mode 0755 -new-dir-mode 0755
 cd ..
 dmg dmg TorMessenger-uncompressed.dmg [% dest_dir _ '/' _ c('filename') %]



More information about the tor-commits mailing list