When I chmod a file and try to merge this change with my master repo, it doesn’t work: the permissions I set in my local repo do not propagate to master.
Do I need a post-receive hook? What should the contents of that file be exactly?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I resolved this issue by writing a post-commit hook that chmods all of the files in a directory. This is not exactly what I was aiming for because it indiscriminately chmods all files in the directory instead of just the ones I changed in the local commit, but it works well enough.