I try to sync upload files and database between development version to production. After run command ./sync.sh development production, the script return
Able to connect to development
Able to connect to production
But next, all files are flag as failed - Permission denied (13)
mysqldump: Can’t create/write to file (…) (Errcode: 13 “Permission denied”),
rsync error: some files could not be transferred (code 23).
I can’t find solution how to fix it… Any idea ? Thanks.