From owner-freebsd-questions@FreeBSD.ORG Wed Apr 7 23:41:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22E0F106564A for ; Wed, 7 Apr 2010 23:41:45 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 0AAAB8FC12 for ; Wed, 7 Apr 2010 23:41:44 +0000 (UTC) Received: from [10.0.10.3] ([202.69.174.226]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 7 Apr 2010 16:41:44 -0700 Message-ID: <4BBD1830.5040202@a1poweruser.com> Date: Thu, 08 Apr 2010 07:41:36 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Chuck Swiger References: <4BBC3343.8070703@a1poweruser.com> <20100407093536.cab35b04.freebsd@edvax.de> <4BBC4CA9.6090807@a1poweruser.com> <44zl1fl56x.fsf@be-well.ilk.org> <4BBD0FF3.9070706@a1poweruser.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 07 Apr 2010 23:41:44.0866 (UTC) FILETIME=[E1BF9020:01CAD6AB] X-Sender: fbsd1@a1poweruser.com Cc: Lowell Gilbert , FreeBSD Questions Subject: Re: usage of /usr/bin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2010 23:41:45 -0000 Chuck Swiger wrote: > On Apr 7, 2010, at 4:06 PM, Fbsd1 wrote: >> Your wrong. I installed the package of postfix and it installed it self into /usr/bin with out any help from me. > > Unless you or whoever built the package changed $PREFIX: > > % pkg_info -Lx postfix > Information for postfix-2.7.0,1: > > Files: > /usr/local/man/man1/postalias.1.gz > /usr/local/man/man1/postcat.1.gz > /usr/local/man/man1/postconf.1.gz > /usr/local/man/man1/postdrop.1.gz > [ ... ] > /usr/local/share/doc/postfix/tlsmgr.8.html > /usr/local/share/doc/postfix/generic.5.html > /usr/local/etc/rc.d/postfix > > ...every file is under /usr/local. Perhaps you set INST_BASE option? > > [ ] INST_BASE Install into /usr and /etc/postfix > > Regards, I installed the package of postfix and it installed is self into /usr/bin with out any help from me. This is now I know that. I swapped a empty drive with my live system drive. Installed the sysinstall kern developer option to get full binaries and sources. After the install I set chflags schg /dir/ and /dir/* for these dir. /bin /boot /lib /libexec /sbin /usr/bin /usr/include /usr/lib /usr/libexec /usr/sbin. This should have protected all those RELEASE base directors and all the files in then. With the dir also having schg on, no files should have been able to be added to it. I then did a ls -lo /dir > file to save copy of their content. Then I did pkg_add -r postfix-current. After which i did another ls -lo /dir > file and to my surprise i see all these new files have been added to /usr/bin. What am I to think? How else would you explain this?