title: Plugin could not be deleted due to an error: Could not fully remove the plugin(s) my-plugin/my-plugin.php
body: <p>Why uninstalling the following (empty) plugin results in error?</p>
  
  <p>Here is <code>my-plugin/my-plugin.php</code>:</p>
  
  <pre><code>&lt;?php
  /*
  Plugin Name: My Plugin
  */
  </code></pre>
  
  <p>and <code>my-plugin/uninstall.php</code>:</p>
  
  <pre><code>&lt;?php
  </code></pre>
  
  <p>When I click 'Delete' and then confirm, I get the following error: </p>
  
  <blockquote>
    <p>Plugin could not be deleted due to an error: Could not fully remove
    the plugin(s) my-plugin/my-plugin.php.</p>
  </blockquote>
  
  <p>What's wrong here?</p>
  
  <hr>
  
  <pre><code>~/Sites/wordpress/wp-content/plugins/my-plugin $ ls -ll
  total 16
  -rwxrwxrwx@ 1 me  staff  34 13 Aug 21:43 my-plugin.php
  -rwxrwxrwx@ 1 me  staff   6 13 Aug 21:44 uninstall.php
  </code></pre>