- Thread Starter
- #26
Having been caught out previously by permission denied errors in the browser, I now make sure that files/directories involved are owned by www:www.Who is the owner:group of the DocumentRoot directory and all its content?
Having been caught out previously by permission denied errors in the browser, I now make sure that files/directories involved are owned by www:www.Who is the owner:group of the DocumentRoot directory and all its content?
Ehm, no. Suppose your web application gets hacked. Then they'll have access with thenow make sure that files/directories involved are owned by www:www.
www user, if this user has write access to the document root (or other directories) they'll have all the access needed to completely wreck your website, insert malware, deface it. Not my preference, but I see no problems with it as long as the permissions/ownership are all sound. It's not going to make much difference if the webserver got hacked where the exact path on the filesystem is. Lots of people seem to thinkhaving a /www directory. Thoughts on this?
www is some sort of super limited user account, it's not. It's a user account like any other. It can do anything any regular user could do on the system, including starting processes and opening listening ports (above 1024).