From: Jamie C. <jca...@we...> - 2004-01-13 22:06:20
|
On Tue, 2004-01-13 at 22:44, Martin Mewes wrote: > Hi Jamie, > > Jamie Cameron <jca...@we...> wrote: > > >> Well but it should be possible to "chown" according to the > >> directory-acl, shouldn't it? > > > >Oh yeah .. if the 'logrotate' program supported this. Webmin does not do > >the actual rotation itself - it just creates a config file for > >logrotate. > > Maybe I missed the point. > > Couldn't the module just forget about 'logrotate' in particular and > just "chown" things with perl? I know that Webmin-Modules are just > creating configuration files but this would be a recovery feature. The problem is, log rotation is not kicked off by Webmin - instead, logrotate is run from a cron job that does not involve Webmin at all. And any such chowning needs to be done just after the log is re-created .. - Jamie |