Score:0

sync Permission denied (13)

cg flag

Im trying to rsync from Ubuntu Server 1 to Ubuntu Server 2

Generated a key pair on Ubuntu1 that the script will use for authentication to each of my remote ubuntu DPs Copied the public key to each of my remote ubuntu DPs

Then ran from Ubuntu 1 to Ubuntu 2

/usr/bin/rsync --archive --human-readable --verbose -e "ssh -i $HOME/.ssh/MasterDP" --delete --progress --stats /usr/local/test/PackageShare/Packages/ @10.1.1.1:/usr/local/test/PackageShare/Packages/

I keep getting

rsync: mkdir "/usr/local/test/PackageShare/Packages" failed: Permission denied (13)

As it is a permissions issue what is the best practice to allow for instance admin account to be able to Rsync between remote servers

I have tried this with the desired account but it I do not see the desired owner of it being as user1

setfacl -m u:username:rwx myfolder
Will avatar
id flag
This is a bit beyond my expertise - but I do know that rsync doesn’t support syncing between two remote servers. I may have misunderstood - I’m not sure if your servers are both remote - if one is local you can ignore!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.