Folder permission errors on public:// after upgrade to 8.8.5
Update:

Find current mode of SELinux and temporarily shut it down. "#" is for comment and can be removed.

Getenforce # see current mode.

getsebool -a # find al boolean values

Sudo setenforce 0 # shut it down, but will be back at reboot.


Try your thing. 
If that’s cause, just add rule to allow locations like /var/www/your Docroot.

SElinux will come back with reboot so to add a permanent rules for /var/www/drupal-document-root.

I do the following.
Line 2 will work but won't survive rename &amp; restorecon 
(line 3 will survive such things).

 ls -dZ /var/www/html  # See SELinux context of 
 sudo chcon -R -t httpd_sys_content_t /var/www/html/drupal-document-root
 sudo semanage fcontext -a -t httpd_sys_content_t "/var/www/html(/.*)?" 


I have also done the following in the past to give apache write permission.

# Selinux allow httpd read &amp; write to /var/www/html/my-project 
sudo chcon -R -t httpd_sys_script_rw_t /var/www/html/my-project/
sudo chcon -R -t httpd_sys_script_rw_t /var/www/my-Symfony-project/var/log/


SELinux references:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/selinux_users_and_administrators_guide/sect-managing_confined_services-the_apache_http_server-types

Beside that, the following is what I do when I setup new site and run into this kind of thing. 

1) cat /etc/http/http.conf | grep user , to see user Apache is running as 
2) from the vhost file, check the document root
Then follow it and make sure Apache can write to it
3) Check your docroot or Symlinks
Post and show the following
1&amp;2&amp; then l would love to see 
Ls -al /document root that Apache is pointing to
And output showing Apache user is in right group 

Don't forget to reset your drupal permissions to the best practices after resolving the issue. look at 2nd answer of the following.

What are the recommended directory permissions?

Ps: assuming your not setting up multisite as few more things will be needed.