From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 18:12:13 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C8F916A4CF for ; Sun, 27 Feb 2005 18:12:13 +0000 (GMT) Received: from mail27.sea5.speakeasy.net (mail27.sea5.speakeasy.net [69.17.117.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F4F543D55 for ; Sun, 27 Feb 2005 18:12:08 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 14719 invoked from network); 27 Feb 2005 18:12:08 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail27.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Feb 2005 18:12:07 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 415FF82; Sun, 27 Feb 2005 13:12:06 -0500 (EST) Sender: lowell@be-well.ilk.org To: Brent Macnaughton References: From: Lowell Gilbert Date: 27 Feb 2005 13:12:05 -0500 In-Reply-To: Message-ID: <44k6ot3ma2.fsf@be-well.ilk.org> Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: Set user/group for installed files? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2005 18:12:13 -0000 Brent Macnaughton writes: > I've looked everywhere and i can't seem to find anything. If I build > software from source, when i do make install, I would like to be able > to set the owner and group for the installed files at that time so I > don't have to go searching all over the file system to find what > files were installed and change the owner and group on them after. Is > there any way to specify whcih user/group to install files as? Normally, they will be installed as the user running the install command. The install procedures for many programs will override this, but the ways in which they do so vary from program to program. Unless there are setuid programs involved, I don't see why you'd generally care who owned the files. [And a few other exceptions, such as being able to write high score files, etc.]