The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache SuEXEC + Fcgi = No write permissions

Discussion in 'EasyApache' started by yoni5002, Jan 24, 2013.

  1. yoni5002

    yoni5002 Registered

    Joined:
    Jan 24, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello guys,

    I need someone to help me because I have this issue driving me nuts. I'm running cPanel on CENTOS 6.3 x64, Easyapache => fgcid and Apache suEXEC. I have an account named SAMPLE.

    When I check my installation . exec('whoami'); tells me that PHP is running under user SAMPLE. The problem is that I cannot write into that user folder when hosting for example Wordpress or using a plugin or anything for that matter. I have also check the SAMPLE folder permissions (755 and 644 for files). The user owns its folder and permissions are correct as far as I can tell.

    Why is it that users are unable to write into their own folder then?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,481
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:

    What does this mean exactly? Are you getting any error messages?
     
  3. yoni5002

    yoni5002 Registered

    Joined:
    Jan 24, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I meant to say that the user running under apache didn't have permissions to write into its own folder.

    For example user1 wordpress site couldn't write into user1 wordpress folder. I solved it by going into CGI Center and using single CGI wrapper (The CGI wrapper will allow you to run CGI scripts with your user ID.)
     
Loading...

Share This Page