Fixed cache directory permission when using the RPM.