Hi

I am recieving an error by cron since a couple of weeks. I cant remember
exactly what was updated, but i am pretty sure it was very related to
that. Before that update, i never got such emails:

subject: Cron <amavis@xxx> test -e /usr/sbin/amavisd-new-cronjob &&
/usr/sbin/amavisd-new-cronjob sa-sync
content:
config: path "/var/lib/spamassassin/3.003002" is inaccessible:
Permission denied
config: path "/var/lib/spamassassin/3.003002/languages" is inaccessible:
Permission denied
config: path "/var/lib/spamassassin/3.003002/triplets.txt" is
inaccessible: Permission denied
config: path "/var/lib/spamassassin/3.003002" is inaccessible:
Permission denied
config: path "/var/lib/spamassassin/3.003002/languages" is inaccessible:
Permission denied

root@xxx:~# ls -lah /var/lib/spamassassin/
total 24M
drwxrwx---  6 debian-spamd debian-spamd 4.0K May 21 23:57 .
drwxr-xr-x 49 root         root         4.0K May  3 17:18 ..
drwxrwxr-x  3 amavis       debian-spamd 4.0K May  4 18:21 3.003002
drwx------  2 debian-spamd debian-spamd 4.0K Jan 12 13:37 .pyzor
drwxrwxr-x  2 spamd        root         4.0K Jan 12 13:15 sa-update-keys
-rw-rw----  1 debian-spamd debian-spamd  24M May 24 08:02 spamd.log
drw-rw----  3 debian-spamd debian-spamd 4.0K Jan 12 13:40 users

root@xxx:~# ls -lah /var/lib/spamassassin/3.003002/
total 16K
drwxrwxr-x 3 amavis       debian-spamd 4.0K May  4 18:21 .
drwxrwx--- 6 debian-spamd debian-spamd 4.0K May 21 23:57 ..
-rw-r--r-- 1 amavis       debian-spamd    0 May  4 18:21 languages
drw-rw---- 2 amavis       debian-spamd 4.0K May  4 18:19
updates_spamassassin_org
-rw-rw---- 1 amavis       debian-spamd 2.7K Apr 29 20:38
updates_spamassassin_org.cf

cat amavisd-new
#
#  SpamAssassin maintenance for amavisd-new
#
# m h dom mon dow user  command
18 */3  * * *   amavis  test -e /usr/sbin/amavisd-new-cronjob &&
/usr/sbin/amavisd-new-cronjob sa-sync
24 1  * * *   amavis  test -e /usr/sbin/amavisd-new-cronjob &&
/usr/sbin/amavisd-new-cronjob sa-clean

When i execute that command as user amavis (su - amavis), i get the
exactly same error. Can someone please tell me whats wrong?

Regards
Oli


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5381b278.3010...@gmail.com

Reply via email to