The File Permissions Check fails during the Readiness Check for Magento 2.1.0 Setup. I am consulting Set pre-installation file system ownership and permissions but to no avail.
I am running Fedora on an Amazon EC2 instance. The web server user and group is apache, command line user is fedora and currently the owner and group of the Magento install directory and its contents is root.
I have tried setting the group and owner of the Magento install directory and its contents to several combinations including apache:apache, root:root (current), fedora:apache and fedora:fedora. I have also recursively set the permissions to 664 and 644 for files and 755 for directories yet,
- /var/www/html/pub/media ; and
are apparently not writable.
Can anyone share some insight? This is my first time setting up Magento not using a quick start or quick install option and using an AWS VPC.
EDIT: I have performed a clean install, the Magento install dir is owned by a seperate user (magento_user) that belongs to the web server group apache. All files and directories are owned by magento_user:apache and permissions for var, pub etc. updated to 0664 and 2755 for files and directories respectively. The bin/magento to 0744.