how to change owner in linux for all files in a directory code example Example: change owner of all the files from a directory linux chown -R username:group directory