From nobody@FreeBSD.org  Sat Mar  1 07:16:01 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C45281065671
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  1 Mar 2008 07:16:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id AF2CA8FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  1 Mar 2008 07:16:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m217D8wM037616
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 1 Mar 2008 07:13:08 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m217D8eI037615;
	Sat, 1 Mar 2008 07:13:08 GMT
	(envelope-from nobody)
Message-Id: <200803010713.m217D8eI037615@www.freebsd.org>
Date: Sat, 1 Mar 2008 07:13:08 GMT
From: Vaclav Haisman <v.haisman@sh.cvut.cz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: shells/ch: Bad ownership of installed files.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: conrads@cox.net

>Number:         121254
>Category:       ports
>Synopsis:       shells/ch: Bad ownership of installed files.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 01 07:20:00 UTC 2008
>Closed-Date:    Thu Jun 19 07:07:06 UTC 2008
>Last-Modified:  Thu Jun 19 07:07:06 UTC 2008
>Originator:     Vaclav Haisman
>Release:        6.3
>Organization:
SU SH
>Environment:
FreeBSD shell.sh.cvut.cz 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Fri Jan 18 17:04:16 CET 2008     root@shell.sh.cvut.cz:/usr/obj/usr/src/sys/SHELL-SMP  i386
>Description:
Files installed to ${PREFIX}/ch have bad ownership 3600:staff.
>How-To-Repeat:

>Fix:
Attached patch.

Patch attached with submission follows:

--- Makefile.orig	2008-03-01 08:02:05.426269501 +0100
+++ Makefile	2008-03-01 08:08:28.661269212 +0100
@@ -34,6 +34,7 @@
 	${MKDIR} ${DATADIR}
 	${TAR} zxf ${WRKSRC}/ch.bin -C ${DATADIR}
 	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+	${CHOWN} -R -h ${BINOWN}:${BINGRP} ${DATADIR}
 
 post-install:
 	@if ${GREP} -q '${PREFIX}/bin/ch' /etc/shells; then ${TRUE}; else \


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat Mar 1 07:20:09 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121254 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/121254: commit references a PR
Date: Thu, 19 Jun 2008 06:56:08 +0000 (UTC)

 lippe       2008-06-19 06:56:04 UTC
 
   FreeBSD ports repository
 
   Modified files:
     shells/ch            Makefile 
   Log:
   - Fix ownership on all installed files.
   - Bump PORTREVISION.
   
   PR:             ports/121254
   Submitted by:   Vaclav Haisman <v.haisman@sh.cvut.cz>
   Approved by:    gabor (mentor, implicit), maintainer timeout (>2 weeks)
   
   Revision  Changes    Path
   1.8       +2 -1      ports/shells/ch/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: lippe 
State-Changed-When: Thu Jun 19 07:07:05 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121254 
>Unformatted:
