Permissions for files and folders error during a LAMP installation. No file recognized

Permalink 1 user found helpful
I'm currently trying these commands:
chown -R root:www-data files/
chown -R root:www-data config/
chown -R root:www-data packages/

I believe i've done all previous steps correctly and I've set up my php, apache and mysql correctly.

I get told
"chown: cannot access 'file/': no such file or directory"

Can anyone help with what I'm doing wrong?