0

The original poser is found here. I want to ensure my index.cgi is set to 755, even afer i push files to git. This is not happening and the file permission , based on the umask i understand is getting set to 700.

I am unable to create the post-update script on the server , which is to be kept at openshift/hooks location, due to the set permissions.

So i tried using action hooks to do the job.

I created a file named stop in my action hooks local folder. Following this i pushed my index file to the server.

My index file still shows permission as 700. How can i resolve this ?

Community
  • 1
  • 1

1 Answers1

0

Try updating the permissions in git.

 git update-index --chmod=<permissions>   <your_file>
fat fantasma
  • 7,483
  • 15
  • 48
  • 66