Chmod error don't understand

I’m following this tutorial for CD but got chmod error return. I tried to look for the usage and error but still don’t understand what it means. Was there a syntax problem or incorrect path? Thank you.

It’s a syntax error. Chmod is used to change filesystem permissions, and you need to give it the permission change you want and the file(s) to modify, in that order. The permission specification is missing in your command.

On the other hand, sudo shouldn’t be necessary to modify a file from your repository.

2 Likes

Thank you. I did chmod 755 to give the permission and it works.

1 Like