www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Lloyd <...@connect.org.uk>
Subject config/2626: Apache include files don't install with correct permissions
Date Wed, 15 Jul 1998 14:19:06 GMT

>Number:         2626
>Category:       config
>Synopsis:       Apache include files don't install with correct permissions
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jul 15 07:20:01 PDT 1998
>Originator:     rkl@connect.org.uk
>Release:        1.3.0
HP-UX 9.05 (Series 700 machine)
using HP's ANSI C compiler
After a "make install", the <apachetree>/include installation directory
contains header files that don't have a+r permissions (i.e. 644). Instead
they only have u=rw permissions (i.e. 600).
Only seems to happen on HP-UX 9.X. HP-UX 10.X seems OK. It appears that
the "umask 022" 'trick' doesn't work for that tree (not sure why - other
parts of the install tree look OK !).

Extend the code in the top-level Makefile.tmpl that copies the include files
(around line 326 or so) to:

	$(UMASK) 022; $(CP) $(TOP)/$(SRC)/$${osdir}/os.h $(root)$(includedir)/; \
	echo "chmod a+r $(includedir)/*.h"; \
	chmod a+r $(includedir)/*.h
	@echo "<=== [include]"

[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message