[tor-commits] [Git][tpo/applications/tor-browser-build][maint-13.5] Bug 41173: Fix permission issue on files in the debian directory

boklm (@boklm) git at gitlab.torproject.org
Wed Jun 19 08:23:28 UTC 2024



boklm pushed to branch maint-13.5 at The Tor Project / Applications / tor-browser-build


Commits:
46fdd1bc by Nicolas Vigier at 2024-06-19T10:23:04+02:00
Bug 41173: Fix permission issue on files in the debian directory

- - - - -


1 changed file:

- projects/linux-packages/build


Changes:

=====================================
projects/linux-packages/build
=====================================
@@ -34,6 +34,10 @@ umask 0022
   chmod +x debian/docs debian/rules
   mkdir debian/source
   echo -n '3.0 (quilt)' > debian/source/format
+  # Fix permissions to avoid mismatching debian.tar.xz file depending
+  # on umask outside the container (tor-browser-build#41173)
+  find debian -executable -exec chmod 700 {} \;
+  find debian ! -executable -exec chmod 600 {} \;
 
 
   function extract_src_tar {



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/46fdd1bcf5b8f930c0ea669377d95aac70c79832

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/46fdd1bcf5b8f930c0ea669377d95aac70c79832
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20240619/a2fc6506/attachment.htm>


More information about the tor-commits mailing list