From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 30 14:50:29 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4FF116A4CE for ; Sun, 30 May 2004 14:50:29 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8085643D4C for ; Sun, 30 May 2004 14:50:29 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4ULoQDe072451 for ; Sun, 30 May 2004 14:50:26 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4ULoQUk072450; Sun, 30 May 2004 14:50:26 -0700 (PDT) (envelope-from gnats) Resent-Date: Sun, 30 May 2004 14:50:26 -0700 (PDT) Resent-Message-Id: <200405302150.i4ULoQUk072450@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, Taoka Fumiyoshi Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4B0016A4CE for ; Sun, 30 May 2004 14:48:30 -0700 (PDT) Received: from prime.quad.dyndns.org (12.57.138.210.xn.2iij.net [210.138.57.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id E055A43D62 for ; Sun, 30 May 2004 14:48:29 -0700 (PDT) (envelope-from fmysh@quad.dyndns.org) Received: from localhost (localhost [127.0.0.1]) by prime.quad.dyndns.org (Postfix) with ESMTP id 6AFA0F2630; Mon, 31 May 2004 06:48:20 +0900 (JST) Received: from prime.quad.dyndns.org ([127.0.0.1]) by localhost (prime.quad.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 95569-08; Mon, 31 May 2004 06:48:18 +0900 (JST) Received: by prime.quad.dyndns.org (Postfix, from userid 1001) id 6B8E0F262E; Mon, 31 May 2004 06:48:18 +0900 (JST) Message-Id: <20040530214818.6B8E0F262E@prime.quad.dyndns.org> Date: Mon, 31 May 2004 06:48:18 +0900 (JST) From: Taoka Fumiyoshi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/67396: x11/fbsd-icons installs files with invalid uid and gid X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Taoka Fumiyoshi List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2004 21:50:29 -0000 >Number: 67396 >Category: ports >Synopsis: x11/fbsd-icons installs files with invalid uid and gid >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 30 14:50:26 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Taoka Fumiyoshi >Release: >Organization: >Environment: >Description: x11/fbsd-icons installs files with invalid uid and gid. This is caused by installing the files directly from an archive. Tar with a root priviledge preserves owners and permissions by default. >How-To-Repeat: # make install # ls -l /usr/X11R6/icons total 34 -rw-r--r-- 1 1000 1000 1077 May 12 1997 chuck.xpm -rw-r--r-- 1 1000 1000 5053 May 12 1997 freebsd-menu.xpm -rw-r--r-- 1 1000 1000 4641 May 12 1997 freebsd2-menu.xpm -rw-r--r-- 1 1000 1000 5871 May 12 1997 freebsd3-menu.xpm -rw-r--r-- 1 1000 1000 467 May 12 1997 mini-backup.xpm -rw-r--r-- 1 1000 1000 467 May 12 1997 mini-info.xpm -rw-r--r-- 1 1000 1000 480 May 12 1997 mini-internet.xpm -rw-r--r-- 1 1000 1000 439 May 12 1997 mini-iris.xpm -rw-r--r-- 1 1000 1000 512 May 12 1997 mini-kfm.xpm -rw-r--r-- 1 1000 1000 491 May 12 1997 mini-run2.xpm -rw-r--r-- 1 1000 1000 453 May 12 1997 mini-world.xpm >Fix: Add --no-same-owner --no-same-permissions options. --- Makefile.orig Mon May 31 03:46:52 2004 +++ Makefile Mon May 31 06:13:06 2004 @@ -21,6 +21,6 @@ do-install: ${MKDIR} ${X11BASE}/icons - ( cd ${X11BASE}/icons; ${TAR} -xzf ${DISTDIR}/fbsd-icons.tar.gz ) + ( cd ${X11BASE}/icons; ${TAR} --no-same-owner --no-same-permissions -xzf ${DISTDIR}/fbsd-icons.tar.gz ) .include >Release-Note: >Audit-Trail: >Unformatted: