From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 1 07:20:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DDFF1065672 for ; Sat, 1 Mar 2008 07:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 06A4D8FC1E for ; Sat, 1 Mar 2008 07:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m217K02H040615 for ; Sat, 1 Mar 2008 07:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m217K0xr040614; Sat, 1 Mar 2008 07:20:00 GMT (envelope-from gnats) Resent-Date: Sat, 1 Mar 2008 07:20:00 GMT Resent-Message-Id: <200803010720.m217K0xr040614@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vaclav Haisman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C45281065671 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/121254: shells/ch: Bad ownership of installed files. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2008 07:20:01 -0000 >Number: 121254 >Category: ports >Synopsis: shells/ch: Bad ownership of installed files. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 01 07:20:00 UTC 2008 >Closed-Date: >Last-Modified: >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: >Unformatted: