How do I change ownership of a directory and all of it's files.

How do I change ownership of a directory and all of it's files without changing permissions?

chown -R user /path/to/dir

2 Likes