chgrp: Pass -1 as the owner ID to chown(3)
Otherwise, if the owner ID changes between stat() and chown(), we will revert to the previous owner while changing the group.
This commit is contained in:
parent
71ba97c175
commit
b29fc0b05f
Loading…
Reference in New Issue
Block a user