Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
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)
# 0o755: executable for everyone, writable only by the owner (avoids local privilege escalation)
os.chmod(filepath, 0o755)


if __name__ == "__main__":
Expand Down
Loading