Skip to content

Commit

Permalink
Fixed #16: Created hook files doesn't have permissions to be executed
Browse files Browse the repository at this point in the history
 - Decreased permission to reading only for the others.
  • Loading branch information
andkirby committed Dec 2, 2015
1 parent b03570d commit 9a807aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibHooks/lib/PreCommit/Command/Command/Install/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ protected function createHookFile(OutputInterface $output, InputInterface $input
*/
protected function _makeFileExecutable($file)
{
chmod($file, 0777);
chmod($file, 0774);
return $this;
}

Expand Down

0 comments on commit 9a807aa

Please sign in to comment.