maximilian attems
2005-Apr-19 14:02 UTC
[Logcheck-devel] Re: [Logcheck-commits] CVS logcheck/debian
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
Todd Troxell
2005-Apr-19 15:46 UTC
[Logcheck-devel] Re: [Logcheck-commits] CVS logcheck/debian
On Tue, Apr 19, 2005 at 04:02:23PM +0200, maximilian attems wrote:> 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 > fiAgh! Stupid mistake. I will upload again today. Thanks.> why not add /var/lock/logcheck also to install rule of the Makefile?It's there. -- [ Todd J. Troxell ,''`. Student, Debian GNU/Linux Developer, SysAdmin, Geek : :' : http://debian.org || http://rapidpacket.com/~xtat `. `' `- ]
Todd Troxell
2005-Apr-19 16:02 UTC
[Logcheck-devel] Re: [Logcheck-commits] CVS logcheck/debian
On Tue, Apr 19, 2005 at 04:02:23PM +0200, maximilian attems wrote:> if dpkg --compare-versions "$2" lt "1.2.39"; then > chown -R logcheck:logcheck /var/lock/logcheck || true > fiFYI: Tested this change and uploaded. -- [ Todd J. Troxell ,''`. Student, Debian GNU/Linux Developer, SysAdmin, Geek : :' : http://debian.org || http://rapidpacket.com/~xtat `. `' `- ]