Date: Sat, 1 Mar 2008 07:13:08 GMT From: Vaclav Haisman <v.haisman@sh.cvut.cz> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/121254: shells/ch: Bad ownership of installed files. Message-ID: <200803010713.m217D8eI037615@www.freebsd.org> Resent-Message-ID: <200803010720.m217K0xr040614@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803010713.m217D8eI037615>