Change owner and groups recursively (SSH)
To change group of files and folders recursively:
chgrp -R [name_of_group] *
To change owner of files and folders recursively:
chown -R [name_of_owner] *
To change owner and group of files and folders recursively:
chown -R [newowner:newgroup] *
Keep reading with a 7-day free trial
Subscribe to MyFrenchLife™ – MaVieFrançaise® to keep reading this post and get 7 days of free access to the full post archives.