Oh what to do, what to do!? I have a whole slew of warnings in my error_log that start out like this:
PHP Warning: mkdir()
PHP Warning: unlink(/
PHP Warning: rmdir(/
Now, the first thing I did was check my php version, and google around, but trying to run a search on an error message brings up a lot of pages with the error and not with solutions. So I had to cleverly craft my query to conclude these things: it’s all PHP related (duh) and that it’s permission related.
Which permissions was the question. All the folders under public_html are owned by username:username, and that is as it should be. But the public_html folder itself is owned by username:nobody. As root, I changed that and quickly got a 403 across the board for my site. Obviously not right. Then I changed permissions on the folder to 755 and waited.
This seems to have fixed my errors, so I’m pleased with the results. I suspect that a lot of weird permission errors will crop up here and there, but as my next task is learning to theme in gallery3 (which is harder than expected for something touted as ‘easy’), I’m sure to be distracted.