Permission Denied on NPM Test

I am encountering bugs on the TDD section. The test is meant to be green but it’s returning an Error which says I do not have permission.

You could check the permission and change it accordingly if needs be?

How would I go about doing that?

you could use ls -l bin/ to see files + permissions

then if things are not as they should be, you could use chmod to change the permission

1 Like

chmod u=rx file (Give the owner rx permissions, not w)
chmod go-rwx file (Deny rwx permission for group, others)
chmod g+w file (Give write permission to the group)
chmod a+x file1 file2 (Give execute permission to everybody)
chmod g+rx,o+x file (OK to combine like this with a comma)

chmod a+x bin/wdio-test

1 Like