I have a virtual machine on ubuntu / trusty 14.04, nginx, vagrant. Cloned my project on yii2-advanced

In the web / assets directory I make the command

$ touch file1.txt 

I see with ls -la the rights to this file

 -rw-r--r-- 1 vagrant vagrant 0 Dec 27 15:11 file1.txt 

I calmly change file permissions:

 $ chmod -R 777 file1.txt 

I see

 -rwxrwxrwx 1 vagrant vagrant 0 Dec 27 15:11 file1.txt 

But I make a command for the folder:

 $ chmod -R 777 assets 

But ls -la gives:

 drwxr-xr-x 1 vagrant vagrant 160 Dec 26 20:30 assets 

Writing rights for all are not set. What am I doing wrong? Is it possible that I have already spoiled something somewhere?

    0