[Pkg-clamav-devel] Bug#553333: Bug#553333: clamav-milter: inet milter socket configuration changes the owner of /root to clamav
Stephen Gran
sgran at debian.org
Fri Oct 30 20:12:43 UTC 2009
Hi there,
I understand how:
> @@ -279,5 +279,5 @@ fi
>
> make_dir "$DataBaseDirectory"
> -if [ "${SOCKET_PATH#inet}" = "${SOCKET_PATH}" ]; then
> +if [ "${SOCKET_TYPE}" = "local" ]; then
> make_dir $(dirname "$SOCKET_PATH")
> chown $User $(dirname "$SOCKET_PATH")
could be a problem (maybe - if the variable $SOCKET_PATH includes the
string 'inet' but somehow the variable $SOCKET_PATH remains unset), but
I don't see how:
> @@ -172,5 +172,5 @@ make_dir()
> [ -n "$User" ] || User=clamav
> mkdir -p -m 0755 "$DIR"
> - chown "$User:$User" "$DIR"
> + chown "$User" "$DIR"
> }
Cause any problems or indeed makes any difference?
Cheers,
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : sgran at debian.org |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20091030/2b42fd2f/attachment-0001.pgp>
More information about the Pkg-clamav-devel
mailing list