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

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



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


Commits:
e94ca9ad by Nicolas Vigier at 2024-06-19T09:59:34+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/e94ca9ad682beff2bdb9c792f967c3aaf910fba2

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/e94ca9ad682beff2bdb9c792f967c3aaf910fba2
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/tbb-commits/attachments/20240619/3d759011/attachment-0001.htm>


More information about the tbb-commits mailing list