Unable to create a file php/permissions etc..
Before a server crash php scripts would access (read/write) files as the user/owner of an account. Now, when a client creates a file with php the User/Group for the created file is nobody(99)/99 (also, the directory has to have chmod 777 set which is a bad policy). An account uses a php script which is unable to create a file "/home/username/public_html/testCGI/test.txt" because permission is denied, because the apache user/group is nobody/nobody (99/99). We can chmod 777 the directory and the script will work, but that has bad security implications, leaving the directory wide open for anyone on the server to read/write to the files, and we would like to be able to have chmod 775 or 755 permissions.Phpsuexes in enabled on this server. I thought that this should take care of it, as permissions higher than 755 shouldn't be necessary. Does anybody here know how to handle this problem?
Thanks
John