Return to receiver.c CVS log | Up to [local] / src / usr.bin / rsync |
version 1.12, 2019/02/16 10:44:01 | version 1.13, 2019/02/16 10:47:20 | ||
---|---|---|---|
|
|
||
LOG4(sess, "%s: updated date", f->path); | LOG4(sess, "%s: updated date", f->path); | ||
} | } | ||
/* Conditionally adjust file permissions. */ | |||
if (newfile || sess->opts->preserve_perms) { | |||
if (fchmod(fd, f->st.mode) == -1) { | |||
ERR(sess, "%s: fchmod", path); | |||
return 0; | |||
} | |||
LOG4(sess, "%s: updated permissions", f->path); | |||
} | |||
return 1; | return 1; | ||
} | } | ||