Chmod doens't accept a -R after the directory on OSX