[FIXED] Permission problems while they seem to be correct


#1

FIX: It turned out to be a SELinux issue. I ran the commend suggested here: https://doc.owncloud.org/server/latest/admin_manual/installation/selinux_configuration.html
I didn't have to do this for the previous installation, so not sure why I need to do it now.

I upgraded from owncloud 9.1.1.3 to 9.1.3.1 from the fedora repos and then copies the new stuff from /usr/share/owncloud to /var/www/owncloud. Then I moved my old 'data' folder from owncloud-old to the new owncloud directory and now I get these errors messages on the homepage of owncloud:

Cannot write into "apps" directory

This can usually be fixed by giving the webserver write access to the apps directory or disabling the appstore in the config file.

and

Data directory (/var/www/owncloud/data) not writable by ownCloud

Permissions can usually be fixed by giving the webserver write access to the root directory.

These are my permissions

Everything seems to be in order to me. The webserver has write permissions in both directories, yet the webpage complains it does not. php runs as the nginx users too as configured in /etc/php-fpm.d/owncloud.conf.

Any insights on this?