Bug 7194 - man pages being installed with wrong owner and permissions
Summary: man pages being installed with wrong owner and permissions
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-07-07 10:00 UTC by martin
Modified: 1998-07-11 01:37 UTC (History)
0 users

See Also:


Attachments
file.diff (1.03 KB, patch)
1998-07-07 10:00 UTC, martin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. :)