Owner & Permissions
Changes the owner of all sub-directories and files in target directory:
chown -R user.name:user.group /target_dir
Changes permissions of all sub-directories and files in target directory:
chmod -R 777 /target_dir
![](https://piroman.rs/wp-content/uploads/2021/08/Linux-pingvin-retardinjo.png)
Changes the owner of all sub-directories and files in target directory:
chown -R user.name:user.group /target_dir
Changes permissions of all sub-directories and files in target directory:
chmod -R 777 /target_dir