DRweb ERROR: Dr.Web Updater: Failed to delete file: /var/drweb/updater/drweb/data/1 Permission denied

Created:

2016-11-16 13:11:26 UTC

Modified:

2017-04-24 11:55:10 UTC

0

Was this article helpful?


Have more questions?

Submit a request

DRweb ERROR: Dr.Web Updater: Failed to delete file: /var/drweb/updater/drweb/data/1 Permission denied

Applicable to:

  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Daily mail notifier sends the following message:

    ERROR: Dr.Web Updater: Failed to delete file: /var/drweb/updater/drweb/data/1 (Permission denied) at /opt/drweb/update.pl line 4399. 
!
Can not open file '/var/drweb/updater/last_try_cache' for writing: (Permission denied) at /opt/drweb/update.pl line 4051.

Cause

Dr.Web directory permission issue.

Resolution

Make sure that the permissions and ownership are set correctly as below:

# ls -ld /var/drweb/updater/drweb/data/1 /var/drweb/updater/drweb/data /var/drweb/updater/drweb /var/drweb/updater /var/drweb /var ; ls -lZ /var/drweb/updater/last_try_cache
drwxr-xr-x 20 root root ? 4096 Jul 7 20:41 /var
drwxr-xr-x 13 drweb drweb ? 4096 Jul 7 20:39 /var/drweb
drwxr-xr-x 4 drweb drweb ? 4096 Jun 3 06:33 /var/drweb/updater
drwxr-xr-x 3 root root ? 4096 Jul 8 12:45 /var/drweb/updater/drweb
drwxr-xr-x 2 root root ? 4096 Jul 8 12:45 /var/drweb/updater/drweb/data
-rw-r--r-- 1 drweb root ? 39194 Jul 8 12:45 /var/drweb/updater/drweb/data/1
-rw-r--r-- 1 root root ? 0 Jul 8 12:45 /var/drweb/updater/last_try_cache
Have more questions? Submit a request
Please sign in to leave a comment.