Honestly it didn't work.  I just tried the same command again without issue.  I have no idea what changed.  o.O

Very odd.  Without the trailing slash, it creates a file by that name if it doesn't exist or puts the file in that directory if it does exist, with a trailing slash, it creates a directory if it doesn't exist.


On Sat, Apr 28, 2012 at 7:30 PM, Konrad Hambrick <konrad@payplus.com> wrote:


Adrian –


Is /backup1 a directory on ?


If so, what happens if you add a trailing slash after backup1 ?


   rsync -t testfile.txt adrian@


HTH ...


-- kjh




From: Adrian H [mailto:adrianh.bsc@gmail.com]
Sent: Saturday, April 28, 2012 11:03 AM
To: MinGW Users List
Subject: [Mingw-users] rsync: mkstemp "/.backup1.IC8E65" failed: Permission denied (13)


Hi all,

I am having trouble using rsync that is available with MinGW.  My command is:

rsync -t testfile.txt adrian@

The result is:

adrian@'s password: <I enter my password here>
rsync: mkstemp "/.backup1.IC8E65" failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 2
3) at /usr/src/rsync/rsync-3.0.8/main.c(1052) [sender=3.0.8]

This works fine when I use cygwin.  Any idea why this doesn't work under MinGW?



Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
MinGW-users mailing list

This list observes the Etiquette found at
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe

            Adrian Hawryluk
         BSc. Computer Science
           Specialising in:
        OOD Methodologies in UML
  OOP Methodologies in C, C++ and more
        RT Embedded Programming
            GUI Development