-u and -U are supposed to affect existing files too.
Reviewed by: marcel
This commit is contained in:
parent
f35b3592e6
commit
dc981c8d1b
@ -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…
x
Reference in New Issue
Block a user