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