1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

VPS and permission issue

Discussion in 'Web Hosting' started by powlow29, Dec 23, 2014.

  1. powlow29

    powlow29 Jr. VIP Jr. VIP

    Joined:
    Nov 18, 2009
    Messages:
    905
    Likes Received:
    723
    Hi,
    On my linux vps with Whm and cpanel, everytime I add a cpanel account for a new domain I end up with wrong permission and owner. I always have to change everything using ssh chown user:user home/example.com
    Is there a way to add a new domain without having to fix everything everytime ?
    Thank you
     
  2. DIe$el

    DIe$el Regular Member

    Joined:
    Dec 4, 2011
    Messages:
    328
    Likes Received:
    49
    Do you add these accounts manually or through any billing system like WHMCS?
     
  3. powlow29

    powlow29 Jr. VIP Jr. VIP

    Joined:
    Nov 18, 2009
    Messages:
    905
    Likes Received:
    723
    In WHM direclty ?
    Is the issue can come because apache is not set as suphp but set as cgi ?
     
  4. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,232
    Occupation:
    Retired
    Location:
    Old Peoples Home
    What is the default user/group assigned to the account when you create the accounts?
     
  5. powlow29

    powlow29 Jr. VIP Jr. VIP

    Joined:
    Nov 18, 2009
    Messages:
    905
    Likes Received:
    723
    It's root:root everytime and I always have to use putty in order to set the right user

    That's my issue !
     
  6. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,232
    Occupation:
    Retired
    Location:
    Old Peoples Home
    Last time I saw an error like that was a good few years ago when v11 of WHM came out - probably teaching you to suck eggs but have you tried forcing an update (/scripts/upcp) or the fixeverything script (/scripts/fixeverything)
     
  7. powlow29

    powlow29 Jr. VIP Jr. VIP

    Joined:
    Nov 18, 2009
    Messages:
    905
    Likes Received:
    723
    Will try those and will check the next time I will have to add a new domain on it.

    Thanks Fatboy for the help