Set writable permissions to tmp dir for caching to work