Steven A. Falco wrote:
I upgraded to F40, and suddenly an apache cgi script that was working perfectly in \ F39 (and earlier) is giving me a "Read-only file system" error when trying to write \ data into a file. The directory where the cgi is trying to write is owned by apache:apache, and it is \ mode 777. The file the cgi is trying to write to is also owned by apache:apache and \ is mode 666. If I manually run the cgi (a trivial perl script), it works perfectly, but apache \ gives the "Read-only file system" error. Apache can read the file fine, it just \ cannot write to it. I also tried having the cgi simply touch a file in /tmp, and that fails too. Any suggestions gratefully accepted.
# mkdir /etc/systemd/system/httpd.service.d/ # vi /etc/systemd/system/httpd.service.d/override.conf [Service] ProtectHome=false # systemctl daemon-reload # systemctl restart httpd.service -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue