+2011-07-16 Paul Eggert <eggert@cs.ucla.edu>
+
+ * fileio.c (Fcopy_file): Don't diagnose fchown failures. (Bug#9002)
+
2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
* process.c: Use the same condition for POLL_FOR_INPUT in both
owner and group. */
if (input_file_statable_p)
{
- if (!NILP (preserve_uid_gid) && fchown (ofd, st.st_uid, st.st_gid) != 0)
- report_file_error ("Doing chown", Fcons (newname, Qnil));
+ if (!NILP (preserve_uid_gid))
+ fchown (ofd, st.st_uid, st.st_gid);
if (fchmod (ofd, st.st_mode & 07777) != 0)
report_file_error ("Doing chmod", Fcons (newname, Qnil));
}