Try it again, but type sudo before chmod (with a space in between). It will ask for your password - only works if you’re an admin user.