]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(make_path): Try to change ownership only if we've just created the
authorJim Meyering <jim@meyering.net>
Fri, 2 Jan 1998 23:15:39 +0000 (23:15 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 2 Jan 1998 23:15:39 +0000 (23:15 +0000)
commit53bc7b04cba662f9e2f020f45b08a8a8c80ef0e9
tree4568803a0deddc3f30a61dfbf2698e1c14638b08
parent43c2a5f62bff26cacf7d276d5ffc7cd2f414a0bd
(make_path): Try to change ownership only if we've just created the
directory.  Fix latent bug (s/&&/||/ in two places -- also, note that
it could not be exercised via install or mkdir) whereby chown would
not be invoked when only one of owner/group is not -1.
lib/makepath.c