[Logcheck-devel] Re: [Logcheck-commits] CVS logcheck/debian

maximilian attems debian at sternwelten.at
Tue Apr 19 14:02:23 UTC 2005


On Tue, 19 Apr 2005, CVS User ttroxell wrote:

> Log Message:
> set permissions on new lock dir
> 
> @@ -61,6 +61,7 @@
>  	if dpkg --compare-versions "$2" lt "1.2.34"; then
>      	  # Fix Permissions
>      	  chown -R logcheck:logcheck /var/lib/logcheck  || true
> +	  chown -R logcheck:logcheck /var/lock/logcheck || true
>            chgrp -R logcheck /etc/logcheck || true
>            chmod 2750 /etc/logcheck/ignore.d.paranoid || true
>            chmod 2750 /etc/logcheck/ignore.d.workstation || true
> 

no time yet to test the new package,
but that won't be run on upgrade, or am i missing aboves intent?


  	if dpkg --compare-versions "$2" lt "1.2.39"; then
	  chown -R logcheck:logcheck /var/lock/logcheck || true
	fi


why not add /var/lock/logcheck also to install rule of the Makefile?

i repeat, just random thoughts no time to test yet.


--
maks





More information about the Logcheck-devel mailing list