linux - How to use to make a file executable on Openshift server after pushing it via git -
the original poser found here. want ensure index.cgi set 755, afer force files git. not happening , file permission , based on umask understand getting set 700.
i unable create post-update script on server , kept @ openshift/hooks location, due set permissions.
so tried using action hooks job.
i created file named stop in action hooks local folder. next pushed index file server.
my index file still shows permission 700. how can resolve ?
try updating permissions in git.
git update-index --chmod=<permissions> <your_file>
linux git openshift file-permissions
No comments:
Post a Comment