mv Permission Denied
If you can't rename file in VS Code
or
you can't move the file with:
Git-Bash or PowerShell
mv docs\games\capture\ docs
You need to replace the owner of the parent folder (in my case it's the docs
folder) and all subfolders and child files.
Replace Folder Owner
Try this:
- Right click, select
Properties
. - Click the
Security
tab. - Click
Advanced
. - Click the Owner: ...
Change
. - Click
Advanced
again. - Click
Find now
. - Choose
Everyone
and clickOK
. - Check
Replace owner on subcontainers and objects
. - Click
Apply
. - Wait for the change of ownership...
- Read
If you have just taken...
, clickOK
. - Click
OK
.