ensure storage is writable when setting support flag. fixes #6755