You know yunohost as server for hosting for TW?

Yes it should but 777 means full access to User - Group - Everyone

full access = 7 is: read, write, execute

The first 7 are the “user / owners” rights
The second 7 are the “user group” rights
The 3rd 7 is “everyone” aka “the universe”

See more details at: What Is chmod 777 and What Does It Do in Linux? .. It’s the first blog post that I found searching for “unix chmod 777” .. It seems to do a decent job to explain what’s going on.

In unix if you see: 777 for directories and 666 for for files, you know something is going wrong. ..

There should be 774 or 770 or 664 or 660 depending on the privacy needed. for minimum security