Fill these in once
- See who owns it now
ls -l ./projectThe third column is the owner.
- Change the ownerNeeds sudo
sudo chown alex ./project - Change a folder and everything inside itNeeds sudo
sudo chown -R alex ./project
Check it worked
- Check the new owner
ls -l ./project
- See who owns it now
ls -l ./projectThe third column is the owner.
- Change the ownerNeeds sudo
sudo chown alex ./project - Change a folder and everything inside itNeeds sudo
sudo chown -R alex ./project
Check it worked
- Check the new owner
ls -l ./project
- See who owns it now
(Get-Acl ./project).Owner - Change the ownerRun as administrator
icacls ./project /setowner alex - Change a folder and everything inside itRun as administrator
icacls ./project /setowner alex /T
Check it worked
- Check the new owner
(Get-Acl ./project).Owner