fix permission error on CentOS