Bug 7194

Summary: man pages being installed with wrong owner and permissions
Product: Ports & Packages Reporter: martin <martin>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description martin 1998-07-07 10:00:00 UTC
Man pages (xinetd.1, xinetd.conf.5 and xinetd.log.5) are being installed
with wrong owner a permissions. Currently man pages are being installed
with owner root group bin mode 0640 which makes them basically unusable
since on "normal" system almost nobody is in the bin group. Correct
owner should be bin and mode 0444.

Fix: Add folowing patch to the port's patches directory:

How-To-Repeat: 
Do make install in the top level directory of the above mentioned
port.
Comment 1 ac199 1998-07-07 15:14:33 UTC
On Tue, Jul 07, 1998 at 10:58:27AM +0200, martin@eunet.cz wrote:
[...]
>   	if test "$(MANPROGDIR)" ; then \
> ! 		$(INSTALL_MAN) $(MANPROGFILE) $(MANPROGDIR)/$(MANPROGPAGE) ;\

Heck, if you going to do this, why not go all the way and use

!		${BSD_INSTALL_MAN} $(MANPROGFILE) $(MANPROGDIR)/$(MANPROGPAGE);\

and actually get the correct permissions instead.


-- 
This .sig is not innovative, witty, or profund.
Comment 2 Steve Price freebsd_committer freebsd_triage 1998-07-11 01:34:18 UTC
State Changed
From-To: open->closed

I have committed a temporary hack to fix this, but I'm sure Mark 
Murray will want to fix this his way when he gets back from his 
voyage. :)