I can't seem to sort out what the permissions, ownership, group membership, etc. are that I need for Wordpress to be able to upload files. I've looked at their site, but when I come across things like, "If 766 doesn't work, you can try 777, which makes all files and folders readable, writable, and executable by all users, groups, and processes.", I'm not too confident in them.
"Unable to create directory wp-content/uploads/2017/08. Is its parent directory writable by the server?" is the error I get when trying to upload a plugin.
I was trying to upload a debugging plugin to figure out why I couldn't upload to my gallery, "Could not write to file. Please check filesystem permissions. Filename: /chroot/home/blogicsi/blog.ics-il.com/html/wp-content/gallery/hughesnet-offer-08-07-2017", which now seems to be anything upload, not just the gallery.
Code:
[root@ip22 uploads]# pwd/home/blogicsi/public_html/wp-content/uploads
[root@ip22 uploads]# ls -al
total 12
drwxr-sr-x 2 blogicsi blogicsi 4096 Aug 7 07:59 .
drwxr-sr-x 6 blogicsi blogicsi 4096 Aug 7 07:31 ..
-rw-r--r-- 1 blogicsi blogicsi 58 Aug 7 07:59 .htaccess
I was trying to upload a debugging plugin to figure out why I couldn't upload to my gallery, "Could not write to file. Please check filesystem permissions. Filename: /chroot/home/blogicsi/blog.ics-il.com/html/wp-content/gallery/hughesnet-offer-08-07-2017", which now seems to be anything upload, not just the gallery.