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
2 changes: 1 addition & 1 deletion bin/diamond
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def main():
try:
if gid != -1 and uid != -1:
# Manually set the groups since they aren't set by default
os.initgroups(user, gid)
os.initgroups(config['server']['user'], gid)

if gid != -1 and os.getgid() != gid:
# Set GID
Expand Down