From c19719f36ef63d3dac3b5c4d0c108b6e7c9c7301 Mon Sep 17 00:00:00 2001 From: sys-xmlcli Date: Fri, 25 Sep 2026 10:21:14 +0530 Subject: [PATCH 1/2] remove world-write on compression binary permissions --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f0730dc..26c51e2 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ def run(self): if sys.platform.startswith('linux'): # Just for linux, change the attributes for filepath in self.get_outputs(): if filepath.find("LzmaCompress") > -1 or filepath.find("TianoCompress") > -1 or filepath.find("Brotli") > -1: - os.chmod(filepath, 0o777) + os.chmod(filepath, 0o755) # executable, but not world-writable if __name__ == "__main__": From bfb8ba344d01b505df43b975524aa7d7a3e6dbe4 Mon Sep 17 00:00:00 2001 From: sys-xmlcli Date: Fri, 25 Sep 2026 10:25:35 +0530 Subject: [PATCH 2/2] remove world-write on compression binary permissions --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 26c51e2..192c505 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ def run(self): if sys.platform.startswith('linux'): # Just for linux, change the attributes for filepath in self.get_outputs(): if filepath.find("LzmaCompress") > -1 or filepath.find("TianoCompress") > -1 or filepath.find("Brotli") > -1: - os.chmod(filepath, 0o755) # executable, but not world-writable + os.chmod(filepath, 0o755) # executable, but not world-writable if __name__ == "__main__":