simple-php-git-deploy
simple-php-git-deploy copied to clipboard
Permission denied
Hi there,
My scripts has been chugging along for many months working fine, then one day I get this:
rsync: mkstemp "/var/www/html/.VERSION.nzw5lG" failed: Permission denied (13) rsync: mkstemp "/var/www/html/.wp-login.php.En1Bkc" failed: Permission denied (13) rsync: mkstemp "/var/www/html/.wp-settings.php.J29bjI" failed: Permission denied (13) rsync: mkstemp "/var/www/html/.wp-signup.php.ioJNhe" failed: Permission denied (13)
On about 4 files. Permissions/user haven't changed as far as I know. Any ideas?
Cheers!
I know this is a bit of a late answer. Maybe it will help others. If you're overwriting files in the destination folder, make sure you have write access to those files. Change the permissions on those files to whatever user is running the deploy script.