I'm trying to change the ownership of a directory under OS X, and have all of the files and folders (and the files and folders within them etc.) change at the same time. I'm sure my chown syntax just isn't right, or that I'm pushing the button wrong, or something, but can anyone give instructions on how to do this?
The following syntax works (verbose so you can see the change):
sudo chown -Rv newuser ./filename
You can also use chown -R user:group /path