How to change owner of files or directories recursively in Linux?
To change owner of files or directories recursively in Linux use the following command: (MAKE SURE YU ARE IN THE DIRECTORY YOU WANT TO CHANGE THE FILES/FOLDERS WITHIN)
chown -R user/group — (substitute user/group with the user name and group name.
For example:
chown -R paul/administrator — (paul is the name of the user and administrator is the name of the group)
For future reference, “-R” is used by nearly all programs to specify a recursive action.
Didn't find what you were looking for? Try these links:
"The only way of finding the limits of the possible is by going beyond them into the impossible." -
Arthur C. Clarke