minor bug in inn install script

Russ Allbery rra at stanford.edu
Sun May 23 07:21:34 UTC 2004

Georg Schwarz <geos at epost.de> writes:

> 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.

Thanks!  This will be fixed as soon as some authentication issues to the
repository have been ironed out and will be in 2.4.2.

Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

More information about the inn-bugs mailing list