Cache auto-create a new cache folder but wrong permission

Discussion created by M M on Oct 19, 2015
Latest reply on Oct 27, 2015 by M M
First, I got problem about permission in cache file.
Permission denied in /var/www/sugarcrm/include/utils/autoloader.php:1234
Before I ask to change permission to admin, I would like to try first.
I try to copy all file and folder in cache into cache_copy and change permission cache_copy folder to 777 drwxrwxrwx and all file in this folder to 776 drwxrwxrw- 
and then rename cache into cache_1 and rename cache_copy into cache

And I got another problem. :(

After I rename cache into cache_1
A moment, Sugar auto-create a new cache file but wrong permission with drwxrws---
Therefore, I can't access my Sugar, show blank page.

So, I rename cache(wrong permission drwxrws---) into cache_another and rename cache_1 back into cache, then refresh I can access my Sugar again.

What wrong with my sugar?
How can I fixed this problem?
I should change permission manually or not?

SugarCRM Professional, Version

Thank you,