When you upload stuff to a server, you can usually see who “owns” what files or directories. This little information is usually given for you in the phpinfo() function beside “User/Group.”
Something I’ve had problems with lately is an application running on a server that needs to make directories. Everything has ran smoothly except when something requires the creation of a directory–enter permissions.
From what research I’ve done on the matter, it just so happens that setting a parent directory to a recursive “777” will alleviate the given problem. Obviously, this is something I would prefer to avoid, but since I can’t get the system administrator to change the user, I feel as if my hands are tied.
According to the server guy, changing the owner would constitute an even worse security risk–and I originally sensed this through reading about potential disk quota concerns elsewhere–but even if that’s the case, things on a server are either secure or not secure.
So let me ask this:
1.) What IS the significance of the “User/Group”?
2.) The application in question is Wordpress 2.9. It keeps requiring the creation of the “Uploads” directory and every time an upload occurs, it runs into problems. Currently, a recursive “777” is applied to this directory, however, I’m curious as to whether or not this is really as bad as everyone makes it out to be and if so, is it possible that having a different owner could be causing the permissions issue? I read somewhere that Wordpress needs to have the same user as what is in the phpinfo().