quota for linear search: Permission denied

kernow

Well-Known Member
Jul 23, 2004
995
42
178
cPanel Access Level
Root Administrator
WHM 11.38.0 (build 18)
After restore of a client backup we now get the following errors:
failed to expand condition "${if exists {$home/etc/$domain/quota}{${if > {${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}{0}}}{0}{${perl{checkuserquota}{$domain}{$local_part}{$message_size}{${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}{0}}}{$home/mail/$domain/$local_part/maildirsize}}}{false}}}{false}}" for virtual_user_maildir_overquota router: failed to open /home/name/etc/domain.com/quota for linear search: Permission denied (euid=47 egid=12)
To fix we tried the following but no luck:
/scripts/updateuserdomains
/scripts/reset_mail_quotas_to_sane_values --force --confirm
Edit
Looks like this worked #/scripts/mailperm
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

Yes, it looks like there were invalid permissions on the following file:

Code:
/home/username/etc/domain.com/quota
Running "/scripts/mailperm username" can correct permissions on this file.

Thank you.