Question #33   Submitted by Answiki on 05/05/2020 at 10:53:35 AM UTC

How to recursively change ownership of a given folder on Linux?

Answer   Submitted by Answiki on 05/05/2020 at 10:55:11 AM UTC

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/

2 events in history
Answer by Answiki on 05/05/2020 at 10:55:11 AM

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/

Question by Answiki 05/05/2020 at 10:53:35 AM
How to recursively change ownership of a given folder on Linux?
# ID Query URL Count

Icons proudly provided by Friconix.