By Guest on Sunday, 21 December 2025
Posted in DirectAdmin
Replies 4
Likes 0
Views 691
Votes 0
Clamd Error for [SCAN /home/globalsys/domains/g********e.com/public_html/wp-admin/link.php]: /home/globalsys/domains/g****e.com/public_html/wp-admin/link.php: File path check failure: Permission denied. ERROR

Hi the all directories of this user is access denied
Hello,

CentOS/Redhat/AlmaLinux:


Bash:
# Test and see current user
grep --color -E "^(#|)User" /etc/clamd.d/scan.conf

# Disable it
perl -pi -e 's/^User /#User /' /etc/clamd.d/scan.conf


Debian/Ubuntu:



Bash:
# Test and see current user
grep --color -E "^(#|)User" /etc/clamav/clamd.conf

# Disable it
perl -pi -e 's/^User /#User /' /etc/clamav/clamd.conf


and restart clamav daemon.
·
1 month ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi the all directories of this user is access denied


Only that user and no problem with other users?
·
1 month ago
·
0 Likes
·
0 Votes
·
0 Comments
·

Only that user and no problem with other users?


Clamav when installed from OS repositories can not read user's homedirs. So it is the same for all users, unless clamav runs under root privileges. If the clamav ran under root user, the error would not happen.
·
1 month ago
·
0 Likes
·
0 Votes
·
0 Comments
·
So it is the same for all users, unless clamav runs under root privileges.


Yes that's correct. So that is the reason why I asked, because specifically was written "this user" and not "all users" or "users" which made me wonder if it could be a wrong permission issue no the users homedir in some way or something similar.
Which would wonder me too as Clamd is normally run as root. But just wanted to ask to be sure.
·
1 month ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post