Il giorno 15 ottobre 2010 15:13, [email protected] <[email protected]> ha
scritto:

>
> Il giorno 15/ott/2010, alle ore 14.48, Luca ha scritto:
>
> > Oct 15 14:30:01 sviluppo /USR/SBIN/CRON[3413]: (www-data) CMD ([ -x
> /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh)
> > Oct 15 14:30:02 sviluppo /USR/SBIN/CRON[3411]: (CRON) error (grandchild
> #3413 failed with exit status 1)
> >
> > Se lancio lo scrpt da shell come root, non ricevo nessun errore, quindi
> dovrebbe essere un problema di permessi.
> >
> > Qualcuno si è imbattuto nello stesso problema ed è riuscito a risolverlo?
>
> awstats va a scrivere in zone dove l'utente www-data non ha permessi manco
> morto.
> potresti cambiare i diritti di accesso alla cartella dove awstats scrive
> con lo stesso
> utente con cui viene eseguito lo script (www-data). Lo stesso vale per i
> file che sono contenuti
> nella cartella.
>
>
> la directory in questione e' /var/lib/awstats.
> <http://lists.debian.org/[email protected]>
>

I permessi sulla cartella sembrano ok:

drwxr-x--- 2 www-data www-data 4096 15 ott 13.30 awstats/

Rispondere a