restrict directory mode to 0755
Merge pull request #729 from ppp0/issue-729

PHP log not rotating because of permission fault