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.

eror log blank for some users

Discussion in 'General Discussion' started by Skin, Jan 9, 2016.

  1. Skin

    Skin Well-Known Member

    Joined:
    Feb 3, 2006
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Italy
    Hello,
    on my vps some accounts have always empty error log, looking at
    /home/account_name/ i see that that the /logs directory of the accounts with problems have for ownership something like 1002:12, the working accounts have the /logs directory with ownership like 1002:1002.

    I'm using suPHP, what are the correct permission and ownership for this /logs directory?
    And what are the correct permission for the other directories located in /home/account_name/

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The default ownership values on the /home/$username/logs directory are "$username.$username" with 0700 permissions. The best method of determining the default permissions on directories like this is to create a new account and review it's directory structure via the command line. EX:

    Code:
    ls -al /home/$username
    Thank you.
     
Loading...

Share This Page