Peter Lundkvist
2003-Aug-05 05:59 UTC
bug: rsync always writes temp-files to current directory since cvs-20030326
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
Wayne Davison
2003-Aug-05 06:49 UTC
bug: rsync always writes temp-files to current directory since cvs-20030326
On Mon, Aug 04, 2003 at 09:59:13PM +0200, Peter Lundkvist wrote:> 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 )I don't see any such change in this revision, and testing shows that the code is working as expected.> 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)I get no such error. Note that rsync can report that (pathless) error when it has done a chdir(), and thus it is not actually complaining about the current directory when rsync was run (I'll look into changing that).> Please see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=192899I tried to duplicate the bug listed here and was unable to do so. I must assume that this bug only exists in the Debian version or that the destination directory was not writable by you. ..wayne..
jw schultz
2003-Aug-05 07:04 UTC
bug: rsync always writes temp-files to current directory since cvs-20030326
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=192899I cannot reproduce this error. It seems the user did not have write permission in /var/cache/apt-proxy/non-US/dists/sid/non-US/main/binary-i386/ -- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: jw@pegasys.ws Remember Cernan and Schmitt
Maybe Matching Threads
- [Bug 759] If sshd was started without explicit pathname, it dies when restarted
- temp fix: Simultaneous reads and writes from specific apps to IPoIB volume seem to conflict and kill performance.
- Reminder: Please join us!
- Milestone: 1000 packages on CRAN as of today(?)
- the difference between temp and .temp