Skip to content

Commit

Permalink
Add group ID and change permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
m0nhawk authored Jan 10, 2025
1 parent 6853a85 commit 3df9293
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tube/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@

try:
uid = getpwnam("gen3").pw_uid
gid = getpwnam("gen3").pw_gid
os.chown("/result", uid)
os.chmod("/result", 700)
os.chmod("/result", gid)
except Exception as e:
print(f"Could not update access: {e}")

0 comments on commit 3df9293

Please sign in to comment.