Make sure that the chown is successful, and use getegid(2) instead of getgid(2).

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
1 file changed