0

Whenever I do a git pull on my server, the file permissions for both files and folders have Group: Write enabled. Making files 664, and folders 775. I'm using git for version control on my Wordpress projects and due to Group: Write being enabled on all files, it's causing a 500 internal server error.

Is there a way for git to stop adding the Group: Write permission to the files and folders?

Thanks

deleteddeleted
  • 155
  • 1
  • 13
  • 1
    Possible duplicate with http://stackoverflow.com/questions/3207728/retaining-file-permissions-with-git or http://stackoverflow.com/questions/2517339/git-how-to-recover-the-file-permissions-git-thinks-the-file-should-be – Franck Jan 13 '14 at 03:24
  • Thanks for that. Changing umask to 0022 seemed to work. I'm not sure if that is the correct way but for now it will do. – deleteddeleted Jan 13 '14 at 04:01

0 Answers0