1 |
You were rsyncing from root locally to user Thelma remotely |
2 |
thelma@10.10.0.2 |
3 |
^^^^^^^ |
4 |
|
5 |
On Tue, Mar 21, 2017, 9:38 PM <thelma@×××××××××××.com> wrote: |
6 |
|
7 |
> On 03/21/2017 10:07 PM, thelma@×××××××××××.com wrote: |
8 |
> > I'm trying to rsync (as root) files and I'm gettng an error |
9 |
> > rsync: mkstemp failed: Permission denied (13) |
10 |
> > |
11 |
> > rsync -av computer.MYD thelma@10.10.0.2:/home/thelma/business/Monday/ |
12 |
> > sending incremental file list |
13 |
> > computer.MYD |
14 |
> > rsync: mkstemp "/home/thelma/business/Monday/.computer.MYD.sl2GiP" |
15 |
> failed: Permission denied (13) |
16 |
> > |
17 |
> > Source file: |
18 |
> > -rwxr-xr-x 1 root root 128 Mar 20 21:25 computer.MYD |
19 |
> > |
20 |
> > Destination: |
21 |
> > -rwxr-xr-x 1 root root 96 Mar 13 20:35 computer.MYD |
22 |
> |
23 |
> Solved. |
24 |
> The file in Thelma's dir had owner root:root it should be thelma:thelma |
25 |
> (chown -R thelma:thelma *) solved the problem. |
26 |
> |
27 |
> Though I'm puzzled why it didn't work. I was running "rysnc" as root. |
28 |
> |
29 |
> -- |
30 |
> Thelma |
31 |
> |
32 |
> |