I think i messed up the whole permissions for my website and now when i try to acces it i get this message:
Forbidden You don't have permission to access / on this server.
Some folder have the permision 0000 and in ftp they appear with flcmdpe instead of rwxr-xr-x
Does any of you know how can i set my permissions back to normal so i can see the website again, please? Thanks!
Best Answer
you can refer http://devdocs.magento.com/
The important things:
The owner of the Magento file system: Must have full control (read/write/execute) of all files and directories.
Must not be the web server user; it should be a different user.
The web server user must have write access to the following files and directories: var app/etc pub (and probably new in 2.2.1:) generated
In addition, the web server's group must own the Magento file system so that the Magento user (who is in the group) can share access to files with the web server user. (This includes files created by the Magento Admin or other web-based utilities.)
We recommend setting the permissions as follows:
You should set as bellow recommended
I hope this will help you.