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!

Email Creating Error

Discussion in 'E-mail Discussion' started by waqaspuri, Oct 12, 2014.

  1. waqaspuri

    waqaspuri Registered

    Joined:
    Oct 12, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Karachi, Pakistan, Pakistan
    cPanel Access Level:
    Reseller Owner
    Hey,

    I'm trying to create a email address, thus, exiting email works perfect, unfortunately adding a email address return error as follow,

    Error File open for /home/sgasga/etc/domain.org.pk/shadow failed with error Permission denied

    At this moment the permission are assigned as follow.

    shadow, File Permission: 640
    shadow,v File Permission: 660

    Please reply with solution how can it be done and resolve easily,

    Regards.
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,812
    Likes Received:
    84
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you please check the permission and ownership of your /home/sgasga/etc/domain.org.pk directory and correct it
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. waqaspuri

    waqaspuri Registered

    Joined:
    Oct 12, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Karachi, Pakistan, Pakistan
    cPanel Access Level:
    Reseller Owner
    At this moment the folder permission /home/sgasga/etc/domain.org.pk is set to 751.

    And how do I know the ownership is correct ?

    Waiting for your response.

    drwxr-x--x 4 sgasga 12 4096 Oct 13 06:09 .
    drwxr-x--- 3 sgasga 12 4096 Oct 13 04:05 ..
    drwxr-x--- 2 sgasga sgasga 4096 Aug 2 00:41 @pwcache
    -rwxr-x--- 1 sgasga sgasga 157 Sep 24 05:51 _privs.json
    -rwxr-x--- 1 sgasga 12 3232 Sep 24 12:25 passwd
    -rwxr-x--- 1 sgasga sgasga 17133 Sep 24 12:27 passwd,v
    -rwxr-x--- 1 sgasga 12 874 Oct 13 04:10 quota
    -r-xr-x--- 1 sgasga sgasga 21979 Oct 13 04:10 quota,v
    drwxr-x--- 2 sgasga sgasga 4096 Oct 11 06:25 rts.ghotki
    -rw-r----- 1 sgasga sgasga 2509 Sep 4 14:06 shadow
    -rwxr-x--- 1 sgasga sgasga 22901 Sep 18 02:06 shadow,v
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,870
    Likes Received:
    1,811
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please run the following command to correct permission/ownership values on those files:

    Code:
    /scripts/mailperm $username
    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