title: Git folder rename keep failing - permission denied
body: <p>I am getting this error message from GIT:</p>
  
  <pre><code>rename folder from X to Y failed, should I try again?
  </code></pre>
  
  <p>What I tried so far:<br>
  - Tortoise git<br>
  - Git UI<br>
  - Git UI with administrator permissions.<br>
  - Restart PC<br>
  - Git Bash with administrator permissions.   </p>
  
  <p>Still the same thing - fatal: renaming folder failed: Permission denied.</p>
  
  <p><strong>UPDATE 3</strong></p>
  
  <p>I changed all file permissions to Everyone </p>
  
  <pre><code>icacls "c:\projects\TRUNK\PRINT_FILES11\" /remove:d Everyone /grant:r Everyone:(OI)(CI)F /T
  </code></pre>
  
  <p>this is the result of the command:</p>
  
  <pre><code>....
  processed file: c:\projects\TRUNK\PRINT_FILES11\maven-compiler-    plugin\compile\default-compile\inputFiles.lst
  processed file: c:\projects\TRUNK\PRINT_FILES11\maven-compiler-    plugin\testCompile\default-testCompile
  processed file: c:\projects\TRUNK\PRINT_FILES11\maven-compiler-plugin\testCompile\default-testCompile\inputFiles.lst
  Successfully processed 77226 files; Failed processing 0 files
  C:\WINDOWS\system32&gt;
  </code></pre>
  
  <p>still getting same thing.</p>
  
  <p>my Tortoise git version is </p>
  
  <pre><code>TortoiseGit 2.8.0.0 (C:\Program Files\TortoiseGit\bin)  
  git version 2.18.0.windows.1 (  
      C:\Program Files\Git\bin;   
      C:\Program Files\Git\mingw64\;   
      C:\Program Files\Git\mingw64\etc\gitconfig;   
      C:\ProgramData\Git\config)  
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/p5Rsj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p5Rsj.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/SpidO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SpidO.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/Xp3TO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xp3TO.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/hzyNZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hzyNZ.png" alt="enter image description here"></a></p>