Fixed permissions of cache directories to use octal notation and restrict write access to users