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

jw schultz jw at pegasys.ws
Tue Aug 5 07:04:14 EST 2003

On Mon, Aug 04, 2003 at 09:59:13PM +0200, Peter Lundkvist wrote:
> 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

I cannot reproduce this error.  It seems the user did not
have write permission in

	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt

More information about the rsync mailing list