trilbymedia / grav-plugin-git-sync

Collaboratively Synchronize your Grav `user` folder hosted on GitHub, BitBucket or GitLab
Apache License 2.0
243 stars 58 forks source link

Problem with git sync after migration #99

Closed rvreugde closed 6 years ago

rvreugde commented 6 years ago

I migrated my Grav website to another webserver (CentOS7, Apache, PHP7), but now I got the error (saving new file or synchronizing):

fatal: could not open '.git/COMMIT_EDITMSG': Permission denied

Can you please help?

Regards,

 Raf van de Vreugde
w00fz commented 6 years ago

Looks like in moving the site your .git folder permissions haven't been updated. You need to chown properly that folder, you can find it under user/.

Hope this helps.