ubuntu set permissions recursively code example Example: how to give permission recursively in linux chmod -R u=rwx,go=rx /tofile_path