- 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
- 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.)
All directories have 770 permissions.