Just had something really weird happen, and I'm not sure why. Our site crashed because PHP couldn't write a cache file to a directory which is created automatically by the script. When I investigated, I saw that the directory had NO permissions: no read or write for owner, group, or public.
This script creates directories hundreds of times a day, with no problems. Indeed, when I sudo'd and removed the dir, it was re-created with the correct permissions instantly.
I've never seen a directory with absolutely no permissions, so I'm just curious how that could have happened. Any thoughts?