Skip to content

PTK0009079 Restrict compression binary permissions to 0o755 - #111

Open
prakashb72 wants to merge 1 commit into
mainfrom
PTK0009079
Open

PTK0009079 Restrict compression binary permissions to 0o755#111
prakashb72 wants to merge 1 commit into
mainfrom
PTK0009079

Conversation

@prakashb72

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread setup.py
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)
Comment thread setup.py
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants