FIX: file permissions in local storage