-
Notifications
You must be signed in to change notification settings - Fork 9.4k
File Permission Check Error #3010
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
php running as another user or folder magento2 is not writable for apache group? |
thanks, magenx, I have run this I also run So I think all files and folders are writable for apache group. Based on http://devdocs.magento.com/guides/v2.0/install-gde/prereq/apache-user.html#install-update-depend-user-over, I thought it is recommended to have a user like magento_user as the owner of the files Thanks, |
read my question. thank you |
@smartperf any update? Has this issue been resolved? |
@smartperf closing as non-responsive. |
[magento_user@lnxdev01 magento2]$ groups apache
apache : apache magento_user
-rw-rw----. 1 magento_user apache 434532 Jan 14 18:34 CHANGELOG.md
-rw-rw----. 1 magento_user apache 3425 Jan 14 18:34 CONTRIBUTING.md
/var/www/html/magento2 and its subfolders and files have ownership as magento_user is in group apache
All permissions are granted.
My environment:
CentOS 7
MySQL 5.5.44
Apache 2.4.6
PHP 5.6.16
Zend Engine 2.6.0
The solutions in #2885 like
[magento_user@lnxdev01 magento2]$ sestatus | grep -i mode
Current mode: enforcing
Mode from config file: enforcing
[magento_user@lnxdev01 magento2]$ chcon -R -h -t httpd_sys_script_rw_t /var/www/html/magento2/app/etc
seems not work for my case.
Please advise.
The text was updated successfully, but these errors were encountered: