Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Directory permissions

Discussion in 'Bind/DNS/Nameserver' started by clebersleite, Sep 12, 2016.

  1. clebersleite

    clebersleite Registered

    Joined:
    May 4, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi guys.....I have a big problem. When I try to change ns configuration in WHM it say:
    can't create @$@#%.tmp file in /usr/local/cpanel.

    ok, I change the: /usr/local/cpanel to user:groudp cpanel:cpanel with -Rf

    Now....my dovecot, pop....cant auth users.

    anyone cant list to me the permissions of this folder?
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    42
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi,

    /usr/local/cpanel ownership is root:wheel

    Code:
    [root@server ~]# ls -ld /usr/local/cpanel/
    drwx--x--x 37 root wheel 4096 Sep 13 02:05 /usr/local/cpanel/
    
    Also, /usr/local/cpanel/cgi-sys and /usr/local/cpanel/src ownership is root:wheel and other all file/folder which is under /usr/local/cpanel/ set ownership is root:root

    If you are not sure about that then contact to your support admin for this.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the output to /usr/local/cpanel/logs/error_log when making that change in Web Host Manager? Also, please ensure you revert any modifications to the permissions or ownership of the /usr/local/cpanel directory or the files/directories within it.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice