The MU forums have moved to WordPress.org

New Wordpress files\folders keep getting apache:apache owner permissions (2 posts)

  1. valiot
    Member
    Posted 16 years ago #

    I installed Wordpress MU one of my domains. It works fine however, everytime Worpress creates folders or files on the domain, the files get the owner and group permission of apache:apache, instead of webuser:servergroup. Why is this happening?

    I tried recursivly setting the owner on the domain:
    # chown webuser:servergroup -R httpdocs
    It worked fine, however Worpress still sets apache:apache for new files or folders.

    Any ideas why this is happening? Is this a Worpress php script issue or they way my domain\apache is configured?

  2. SteveAtty
    Member
    Posted 16 years ago #

    Apache will, by default, create files and directories using the user id and group of the user being used to run the server. On my server it is wwwrun and www.

    Just ensure that all your core php files and directories are set so the apache process cannot replace them (so basically everything that isn't in the cache folder or the file uploads folder).

    The uid/group id is set in apache's uid.conf file

About this Topic

  • Started 16 years ago by valiot
  • Latest reply from SteveAtty