version 1.4, 2019/02/11 21:41:22 |
version 1.5, 2019/02/12 19:10:28 |
|
|
goto out; |
goto out; |
} |
} |
|
|
|
if (sess->opts->preserve_gids) { |
|
if (fchown(p->fd, -1, f->st.gid) == -1) { |
|
if (errno != EPERM) { |
|
ERR(sess, "%s: fchown", p->fname); |
|
goto out; |
|
} |
|
WARNX(sess, "%s: gid not available to user: %u", |
|
f->path, f->st.gid); |
|
} else |
|
LOG4(sess, "%s: updated gid", f->path); |
|
} |
|
|
/* Conditionally adjust file modification time. */ |
/* Conditionally adjust file modification time. */ |
|
|
if (sess->opts->preserve_times) { |
if (sess->opts->preserve_times) { |