[Pkg-aide-maintainers] Bug#447769: aideinit reports a configuration error
Marc Haber
mh+debian-packages at zugschlus.de
Wed Oct 31 18:59:25 UTC 2007
tags #447769 - patch
tags #447769 confirmed pending
thanks
On Tue, Oct 23, 2007 at 07:31:07PM +0200, Tom Geissler wrote:
> Some of aide.conf-files are bash-scripts, but they have the wrong
> permissions. The bug is in aide_fixperms. A possible solution is in the
> aide_fixperms.diff.
I have committed a better fix to svn.
> --- aide_fixperms 2007-10-23 14:54:34.000000000 +0200
> +++ aide_fixperms.new 2007-10-23 14:53:57.000000000 +0200
> @@ -3,7 +3,7 @@
> PACKAGES="aide aide-config-zg2"
"aide" should be "aide-common". Left over from the recent packaging
rearrangement.
> for package in $PACKAGES; do
> - for file in $(find debian/$package/usr/share/$package/config/aide -type f -print 2>/dev/null); do
> + for file in $(find debian/aide-common/usr/share/$package/config/aide -type f -print 2>/dev/null); do
> if < $file head -n 1 | grep -q '^#!'; then
> chmod 755 $file
> fi
This kind of makes the outer loop a waste.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
More information about the Pkg-aide-maintainers
mailing list