We recommend setting the permissions as follows: All directories have 770 permissions.ħ70 permissions give full control (that is, read/write/execute) to the owner and to the group and no permissions to anyone else.Ħ60 permissions mean the owner and the group can read and write but other users have no permissions.įind. ![]() (This includes files created by the Magento Admin or other web-based utilities.) 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. 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 Must not be the web server user it should be a different user. find app/code var/view_preprocessed vendor pub/static app/etc generated/code generated/metadata \( -type f -or -type d \) -exec chmod u-w
0 Comments
Leave a Reply. |