]> git.ipfire.org Git - thirdparty/chrony.git/commit
util: set uid/gid of created directory even when zero
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 13 Aug 2015 15:04:10 +0000 (17:04 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 13 Aug 2015 15:15:50 +0000 (17:15 +0200)
commit30b621391084599e5715077e163daf34d68552ff
treeb217fbfa35e5ed58cf11a82dd0b65845be9e5281
parentb6a27df5b9be0f07f151c8fba311cb7eadb2b13e
util: set uid/gid of created directory even when zero

Call chown() in create_dir() even when the specified uid/gid is zero.
This is needed on BSD systems, where directories are created with gid
of the parent directory.
util.c
util.h