Subject: pkg/17333: apache pkgsrc blindly change file's owner.
To: None <>
From: Takahiro Kambe <>
List: netbsd-bugs
Date: 06/20/2002 18:12:02
>Number:         17333
>Category:       pkg
>Synopsis:       apache pkgsrc blindly change file's owner.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 20 02:13:00 PDT 2002
>Originator:     Takahiro Kambe
>Release:        NetBSD 1.6_BETA2
System: NetBSD 1.6_BETA2 NetBSD 1.6_BETA2 (FIVA20X) #146: Sat Jun 15 16:15:22 JST 2002 i386
Architecture: i386
Machine: i386
	When install apache from pkgsrc, it blindly change owner of files
	under ${PREFIX}/share/httpd directory.  It should more carefuly
	change the files which was installed by apache pkgsrc.

	Since some site may allow some users to write web document,
	htdocs (docuemtn root) directory contains non-root files.
	But updating apache results prune those information of files'

	Installing apache binary package with pkg_add(8) dose't have this

	Install apache from pkgsrc.
	Change the line in post-install target to more limited files.

	${CHOWN} -R ${DOCOWN}:${DOCGRP} ${PREFIX}/share/httpd