Skip to content

Commit

Permalink
Fixed file permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed May 17, 2015
1 parent 8d5b924 commit f73ecdb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tiny_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def drop_privileges3(uid_name, gid_name, files):
for f in files:
if f is not None:
os.chown(f, new_uid, new_gid)
os.chmod(f, 0o664)
# remove group privileges
os.setgroups([])
# set uid/gid
Expand Down

0 comments on commit f73ecdb

Please sign in to comment.