Public bug reported:
Binary package hint: wwwoffle
On Ubuntu 10.10 : I tried to install both wwwoffle and ht://dig. Nearly
perfect integration of both packages... except... the cronjob never
worked. Why ? Let's try to run it manually.
r...@rakia:/etc/cron.daily# su proxy -s /bin/sh -c
/usr/share/wwwoffle/search/htdig/wwwoffle-htdig-incr
/usr/share/wwwoffle/search/htdig/wwwoffle-htdig-incr: 19: cannot create
/var/log/wwwoffle-htdig.log: Permission denied
It can write its log, it doesn't have permission to write/create the
file. Ok, let's fix it :
r...@rakia:/etc/cron.daily# touch /var/log/wwwoffle-htdig.log
r...@rakia:/etc/cron.daily# chown proxy /var/log/wwwoffle-htdig.log
r...@rakia:/etc/cron.daily# su proxy -s /bin/sh -c
/usr/share/wwwoffle/search/htdig/wwwoffle-htdig-incr
Oh, it's perfectly running now. The ubuntu package script should also
create an empty log file with the correct permission.
** Affects: wwwoffle (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/689500
Title:
wwwoffle + ht://dig : cronjob doesn't have permissions to write its log
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs