Bash script to change the ownership of all objects from x to y