Gentoo Archives: gentoo-user

From: Ian Bloss <ianlinkcd@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] [SOLVED] rsync: mkstemp failed: Permission denied (13)
Date: Wed, 22 Mar 2017 04:58:19
Message-Id: CADopNUeAUsdLcb8Rt-w9mO-Bhfvzj-7U6bf+=kxO2G7eGzJdvQ@mail.gmail.com
In Reply to: Re: [gentoo-user] [SOLVED] rsync: mkstemp failed: Permission denied (13) by thelma@sys-concept.com
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 >