From new-httpd-owner-new-httpd-archive=hyperreal.org@apache.org Wed Dec 09 21:04:16 1998 Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 10289 invoked by uid 6000); 9 Dec 1998 21:04:10 -0000 Received: (qmail 10238 invoked by uid 24); 9 Dec 1998 21:03:59 -0000 Message-Id: <4.1.19981209122315.00b806c0@hyperreal.org> X-Sender: brian@hyperreal.org X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Wed, 09 Dec 1998 12:55:53 -0800 To: new-httpd@apache.org From: Brian Behlendorf Subject: Re: [PATCH] SECURITY: UID of htdocs & icons data In-Reply-To: <19981209193917.A2812@engelschall.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org At 07:39 PM 12/9/98 +0100, Ralf S. Engelschall wrote: > >In article <4.1.19981209062808.00c21100@hyperreal.org> you wrote: >> At 10:49 AM 12/7/98 -0800, Wilfredo Sanchez wrote: >>> >>> | Hey, Gregory had a good idea (in a private mail to me): We can use a >>> | tool to fixup the UID/GID in the generated tarball. >>> >>> FYI- GNU tar has options: >>> >>> --owner=NAME force NAME as owner for added files >>> --group=NAME force NAME as group for added files >>> >>> but this applies to all files, and doesn't help if you want some files with >>> uid X and others with uid Y. > >> This seems like it'd be plenty sufficient for our purposes... I'd much >rather >> do this than force the package builder to chown a bunch of files to root - >> ick. > >Sure, but is GNU tar installed on taz? taz is a FreeBSD box, but at least my >FreeBSD tar doesn't support the above options. When this is also the case for >taz, please either install GNU tar or Tardy for us, Brian. [taz] 12:20pm ~ > gtar --version GNU tar version 1.12 [taz] 12:21pm ~ > tar --help This is GNU tar, the tape archiving program. choose one of the following: ... --owner=NAME force NAME as owner for added files --group=NAME force NAME as group for added files ... Brian --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- History is made at night; brian@hyperreal.org character is what you are in the dark.