chmod xyz /path/to/the/file

You missed the xyz number, which set the permissions to the file. And be careful with spaces in the path name, for example, '/home/user/my\ folder' instead of '/home/user/my folder'

Reply via email to