minor bug in inn install script

Georg Schwarz geos at epost.de
Sat May 22 17:35:56 UTC 2004


There is a small bug in inn 2.3.5's support/install-sh script (and it
looks like it still exists in 2.4.1):

When installing $INSTDIRS in the Makefile, all these directories, even
when they already exist, get chowned/chgrped to the news-user and group.
This is because of the following code in install-sh:

        if [ -d $dst ]; then
                instcmd=:
                chmodcmd=""
        else
                instcmd=mkdir
        fi

it should not only set chmodcmd="" (preventing existing directories to
be chmoded) but also chowncmd="".
Just all chowncmd="", and things should be fine.

Georg 



-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 geos at epost.de     +49 177 8811442


More information about the inn-bugs mailing list