You were rsyncing from root locally to user Thelma remotely
thelma@10.10.0.2
^^^^^^^

On Tue, Mar 21, 2017, 9:38 PM <the...@sys-concept.com> wrote:

> On 03/21/2017 10:07 PM, the...@sys-concept.com wrote:
> > I'm trying to rsync (as root) files and I'm gettng an error
> > rsync: mkstemp failed: Permission denied (13)
> >
> > rsync -av computer.MYD thelma@10.10.0.2:/home/thelma/business/Monday/
> > sending incremental file list
> > computer.MYD
> > rsync: mkstemp "/home/thelma/business/Monday/.computer.MYD.sl2GiP"
> failed: Permission denied (13)
> >
> > Source file:
> > -rwxr-xr-x 1 root root      128 Mar 20 21:25 computer.MYD
> >
> > Destination:
> > -rwxr-xr-x 1 root root       96 Mar 13 20:35 computer.MYD
>
> Solved.
> The file in Thelma's dir had owner root:root it should be thelma:thelma
> (chown -R thelma:thelma *) solved the problem.
>
> Though I'm puzzled why it didn't work. I was running "rysnc" as root.
>
> --
> Thelma
>
>

Reply via email to