On Tue, Sep 21, 2010 at 5:43 PM, Jon Daley <deb...@jon.limedaley.com> wrote: > That all works fine, however, I upgraded the other day, and the upgrade > script must include a > chown -R www-data.www-data /var/log/lighttpd and > chmod -R wwww-data.www-data /var/cache/lighttpd
Don't chmod/chown system-owned dirs, use other dirs. ;) > as everything broke after the upgrade. > > The log directory was easy to spot, but I didn't notice that the cache > permissions had been reset until I was debugging a 413 Request Too Large > error, which turned out to be the > permissions were wrong and nothing to do with the size of the request. Might be worth to file a bug report (upstream). > Perhaps the chown should only happen on install, and not on upgrade? > Or maybe check the server.username/group? Not feasible. > Or at least warn the user that you are changing permissions, so he can > manually put them back. Olaf -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org