bug: rsync always writes temp-files to current directory since cvs-20030326

Peter Lundkvist p.lundkvist at telia.com
Tue Aug 5 05:59:13 EST 2003


Hi,

The documentation states that rsync writes temp-files to the recieving
directory, unless --temp-dir is specified. This is not true since
cvs-20030326, when receiver.c was modified.
( http://cvs.samba.org/cgi-bin/cvsweb/rsync/receiver.c#rev1.44 )

You will get this error when you don't have write access to the
current directory:
  mkstemp .somefile.UQVWQd failed: Permission denied
  rsync error: some files could not be transferred (code 23) at main.c(1045)

IMHO the fix introduced, should either be removed or modified to work as
documented.

Please see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=192899

best regards
peter
 



More information about the rsync mailing list