waqaspuri

Registered
Oct 12, 2014
2
0
1
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.
 

waqaspuri

Registered
Oct 12, 2014
2
0
1
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
Hello :)

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

Code:
/scripts/mailperm $username
Thank you.