-u and -U are supposed to affect existing files too.
Reviewed by: marcel
This commit is contained in:
parent
f35b3592e6
commit
dc981c8d1b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=275650
@ -233,7 +233,7 @@ miss(NODE *p, char *tail)
|
||||
miss(p->child, tp + 1);
|
||||
*tp = '\0';
|
||||
|
||||
if (!create)
|
||||
if (!create && !uflag)
|
||||
continue;
|
||||
if (chown(path, p->st_uid, p->st_gid) == -1) {
|
||||
serr = errno;
|
||||
|
Loading…
Reference in New Issue
Block a user