Well you either didn't do it right
From the chmod Man page
-R, --recursive
change files and directories recursively
or the user you're running the command as doesn't have enough permissions.
Oh, you did replace xxx with the numeric permission code you wanted for the files and /path with the path concerned didn't you?