👋 Hello! I'm Alphonsio the robot. Ask me a question, I'll try to answer.
How to recursively change ownership of a given folder on Linux?

The command chown allows to change the user and/or group ownership of each given file or folder. The -R o ption operate on files and directories recursively


The following example set rights to the group www-data on folder and all subfolders and files:

chown www-data -R folder/

More