To change the ownerships of all files in a directory and it's subdirectories, do:
Now, if you want to change the group permissions at the same time to say, group users:
Code:
chown -R shay:users *
This will not to ".*" (dot files) in the same directory. Oh, you need to be root to do this, so either su to root, or run the chown in a sudo command.