title: How to change users.xml from being readonly?
body: <p>I've set up a working instance of a ClickHouse server with docker-compose. Right now I'm trying to grant privileges (write permission) to a user who is defined in users.xml as such:</p>
  <pre><code>&lt;users&gt;
          &lt;deep&gt;
              &lt;access_management&gt;1&lt;/access_management&gt;
              &lt;password&gt;xxx&lt;/password&gt;
              &lt;networks incl=&quot;networks&quot; replace=&quot;replace&quot;&gt;
                  &lt;ip&gt;::/1&lt;/ip&gt;
                  &lt;ip&gt;192.168.65.155&lt;/ip&gt;
              &lt;/networks&gt;
              &lt;profile&gt;default&lt;/profile&gt;
              &lt;quota&gt;default&lt;/quota&gt;
          &lt;/deep&gt;
  &lt;/users&gt;
  </code></pre>
  <p>I'm using this command</p>
  <blockquote>
  <p>GRANT INSERT ON registry.simple_people TO deep</p>
  </blockquote>
  <p>which gives me this error message:</p>
  <pre><code>Code: 495, e.displayText() = DB::Exception: Cannot update user `deep` in users.xml because this storage is readonly: Couldn't update user `deep`. Successfully updated: none (version 20.12.3.3 (official build))
  
  </code></pre>
  <p>I've read the docs from ch here <a href="https://clickhouse.tech/docs/en/sql-reference/statements/grant/" rel="nofollow noreferrer">https://clickhouse.tech/docs/en/sql-reference/statements/grant/</a> and also I've been setting the readonly option to 2 and 0 without any difference in the output. <strong>Can anyone of you see where I could've missed something or what I ought to do to be able to make users.xml &quot;not-readonly&quot;?</strong></p>
  <p><strong>Note:</strong></p>
  <p>The user 'deep' can read from the DB.</p>
  <p>I'm on WSL: Ubuntu-20.04</p>