1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

apache user & group instead of the user name and group setup for the domain

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by hounds01, May 15, 2011.

  1. hounds01

    hounds01 New Pleskian

    23
     
    Joined:
    Feb 20, 2005
    Messages:
    14
    Likes Received:
    0
    v9.3
    Linux redcat

    I am unable to update files via FTP or through the file manager in Plesk for a wordpress theme. I am unable to update files through Plesk's file manager or through FTP (CuteFTP). I have changed the settings in FTP, changed CHMOD, etc but no luck.

    I get this error:

    Error: Unable to edit file /httpdocs/testsite/wp-content/themes/galleria/includes/css/standard.css: filemng failed: cp: cannot create regular file `/var/www/vhosts/robertibrucephotography.com.au/httpdocs/testsite/wp-content/themes/galleria/includes/css/standard.css': Permission denied
    filemng: Error occured during /bin/cp command.





    It seems the theme added has apache as the user & group instead of the user name and group setup for the domain. This is the same for the twenty ten theme which comes with WP. Files can be written to for other WP themes that use the user name and group setup for the domain. The themes are loaded through WP and I have tried to load them by FTP and then activate them in WP but this doesn’t work. When I load them through by FTP it uses user name and group setup for the domain.

    I can’t work out we Plesk does this. I have looked on the WP forum but the only suggestion was to change the setting in the domain in the Plesk panel, web hosting setting, PHP support – change option from Apache module to Fast CGI but aparently that slows the server done and can crash.

    WP was loaded through the Plesk panel applications menu

    Can you shed any light on this?
     
  2. lvalics

    lvalics Silver Pleskian Plesk Guru

    36
    43%
    Joined:
    Jun 20, 2003
    Messages:
    965
    Likes Received:
    32
    Location:
    Romania
    You will need to install mod_suphp or mod_ruid2 to have no issues with this apache:apache user. You can search on forum, it was discussed many times this or check our HOW TO in my signature.
     
Loading...