Fix log folders permission

Signed-off-by: Kenji Suzuki <kenji.uui@gmail.com>
Fix log folders permission using chmod call

Signed-off-by: Kenji Suzuki <kenji.uui@gmail.com>
Fix coding style

Signed-off-by: Kenji Suzuki <kenji.uui@gmail.com>
Merge pull request #1397 from kenjis/fix_log

Fix log folders permission