This is in an account (shared server) on Pair Networks. When I use PHP to create a directory using mkdir and specify 777 permissions, the created directories are 755.
Never had a problem with this (the permissions being 755) until yesterday, when suddenly I couldn't upload images to, or change permissions of, some directories that had been created using PHP. Pair told me the directories were owned by "nobody" and that I should run PHP under something called php-cgiwrap, which would make the owner me instead of nobody.
That makes me nervous, especially for an otherwise mature content management system. I'd hate to break or slow down a lot of other things. Plus these directories were writeable by the CMS until - well - yesterday anyway.
Can't understand what could have changed - seemingly spontaneously. Or why the permissions I set when creating via PHP aren't actually set for the directories.
Perhaps someone with more knowledge about all this can enlighten me...
- Bob