]> git.phdru.name Git - git-scripts.git/commitdiff
Fix script permissions
authorOleg Broytman <phd@phdru.name>
Fri, 1 Aug 2014 00:44:52 +0000 (04:44 +0400)
committerOleg Broytman <phd@phdru.name>
Fri, 1 Aug 2014 00:44:52 +0000 (04:44 +0400)
configure-sf

index 39b1bedd539beee17c976d846ca9c6e0065e82fb..f93e0a8893a21204cc07f9c85afd615fb1d7cedb 100755 (executable)
@@ -20,8 +20,7 @@ echo "$PROJECTNAME git repository ($REPONAME)" > description
 #curl -L -o hooks/post-receive-user https://git.kernel.org/cgit/git/git.git/plain/contrib/hooks/post-receive-email &&
 #http://tinyurl.com/git-post-commit-email
 wget -O hooks/post-receive-user https://git.kernel.org/cgit/git/git.git/plain/contrib/hooks/post-receive-email &&
-chmod +x hooks/post-receive-user &&
-chmod g+w hooks/post-receive-user &&
+chmod u=rwx,go=rx hooks/post-receive-user &&
 
 git config hooks.diffopts "--stat --summary --find-copies-harder -p"
 if [ -n "$maxlines" ]; then