Change the owner of a directory tree
CautionRecursively sets the owning user and group of the directory and of everything inside it.
sudo chown -R user:group pathEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)