On 25/07/13 08:17, Stéphane CHIRON wrote:
> I use the old logrotate, but in the man of the 3.8.1 release, there's
> also written :
> 
> Any of the log file attributes may  be  omitted, [...]

Oh yes you're right!  But actually, the code didn't seem to really
implement it yet:

> --- logrotate-3.8.1/config.c    2013-07-25 09:53:10.000000000 +0100
> +++ logrotate-3.8.5/config.c    2013-06-10 13:02:36.000000000 +0100
> @@ -846,6 +865,17 @@
>  
>                                         rc = sscanf(key, "%o %200s %200s%c", 
> &createMode,
>                                                         createOwner, 
> createGroup, &foo);
> +                                       /* We support 'create <owner> <group> 
> notation now */
> +                                       if (rc == 0) {
> +                                               rc = sscanf(key, "%200s 
> %200s%c",
> +                                                               createOwner, 
> createGroup, &foo);

You may be able to work around it by giving a mode of -1 and see if you
get the intended behaviour?

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to