Support » Fixing WordPress » Upload make directory with wrong owner

  • In a new complex environment with multiple server we are experiencing the following problem, users that make an upload this month have wordpress creating the years and month uploads directory but these are with wrong user/group, even if the user that run the server is apache and users have their own root dir.

    we have a structure like thie:


    the doc dir for the single domain is www, www and blogname have user/group specific for the username. All the parents directory /username and above) are root/root owner/group.

    Looks like WP get the owner from the new dir not from the site document root but a level above… that’s strange. I browsed in the WP code to get where exactly it gets the owner and dir it takes for template… but i didn’t found it.

    Maybe just changig username owers/grouo will help? we would like to aviod a try and test for the various blog we have no access…

    Thanks a lot to all will help 🙂

Viewing 1 replies (of 1 total)
  • For all I know WP just blurps out the usual PHP mkdir statements, which takes it’s user names and all from Apache. I’m not totally sure, but it’s apache I would start to debug this.

Viewing 1 replies (of 1 total)
  • The topic ‘Upload make directory with wrong owner’ is closed to new replies.