Fixed permissions

Permissions for app/cache and app/logs