https://sourceware.org/bugzilla/show_bug.cgi?id=26945
--- Comment #6 from Nick Clifton <nickc at redhat dot com> --- Created attachment 13005 --> https://sourceware.org/bugzilla/attachment.cgi?id=13005&action=edit Proposed patch Siddhesh Poyarekar pointed out a bug in the previous patches. I was calling fchmod() and fchown() on the TO file descriptor (after calling rename(2)), rather than the FROM file descriptor. This upload contains a revised patch that corrects this bug. -- You are receiving this mail because: You are on the CC list for the bug.