title: File permissions unset or incorrect
body: <p>I am using ansible <code>copy</code> module to copy a file. The linter tells me &quot;File permissions unset or incorrect&quot; and I don't understand the problem.</p>
  <p>Here is the ansible task</p>
  <pre class="lang-yaml prettyprint-override"><code>- name: Ensure some.txt is there
    copy:
      src: some.txt
      dest: &quot;{{ some_path }}/some.txt&quot;
      force: false
      mode: '644'
  </code></pre>
  <p>Where <code>some.txt</code> is a file that exists in the <code>ansible/files</code> directory.
  I have also tried with <code>mode: 0644</code> but no luck.</p>
  <p>My ansible version:</p>
  <pre class="lang-sh prettyprint-override"><code>$ ansible-lint --version
  ansible-lint 5.0.7 using ansible 2.10.8
  </code></pre>
  <p>Restarting the editor fixed it, but that's not really an answer.
  Any ideas?</p>