regarding apache2 user and group ("permission denied" to edit or save anything)

Discussion in 'Server Operation' started by growlgrowlgrowl, Aug 12, 2007.

  1. growlgrowlgrowl

    growlgrowlgrowl New Member

    Hello there! I have recently set up Apache2 and PHP on Slackware 11 and it seems to work quite well, however unfortunately to cannot write files (neither create, nor write to existing ones), directories or do anything else on the hdd, although the dir and all dirs above are chmoded to 0777. Now after a googling I had to come to the conlcusion that it must be my "server user" who does not have the rights to do it - therefore I would have to set the server's group as the owner of the dir where my scrips would roam. However my Slackware does neither have user who's name would be anything similar to "apache" or "www", nor any group alike.
    Do you happen to know if there is any way to see, under which UID the PHP scripts are executed? Can I simply create a group and assign my apache to it? Any help or other hints of any quality would be appreciated.

    Thank you, thank you very much and please be so kind to exuse my bad English. It is not meant to sound rude or anything. :)
  2. falko

    falko Super Moderator ISPConfig Developer

    Please take a look at the Apache configuration. Somewhere in there the User and Group are specified. Chown your directories to this user and group.

Share This Page