Make the permission in the local cache the same as the original + write permission to the group for the locking mechanism.
Merge pull request #887 from nouiz/cache

Make the permission in the local cache the same as the original + write ...