[SOLVED] '"...files" is not a writable directory' error and SELinux

I am installing Omeka-S for a private project on my workstation, hosting it on Nginx. Database setup and file deployment went well; however, when I navigate to the /admin or /install URL in my browser I am getting the error "/var/www/omeka-s/files" is not a writable directory.

But the thing is, the directory is writable; I’ve set it to 776 (for the record, I also tried 777 with same results):
[danny@fedora omeka-s]$ pwd
/var/www/omeka-s
[danny@fedora omeka-s]$ ls -al
...
drwxrwxrw-. 1 root root 20 Apr 21 12:58 files
...

What am I doing wrong?

Additional details:
Fedora workstation 38 (kernel 6.2.11-300.fc38.x86_64)
Nginx 1.24.0
MariaDB 10.5.18
PHP 8.2.4

Update: I’ve figured it out. I’m relatively new to Fedora/RHEL/CentOS, so I wasn’t aware, but it is a SELinux issue.

Following this blog post helped me out and I recommend it to anyone having the same issue:

No further assistance needed (at least not from the Omeka-S community)!

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.