From owner-freebsd-questions@FreeBSD.ORG Tue Jan 29 14:29:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F26C4D1B for ; Tue, 29 Jan 2013 14:29:58 +0000 (UTC) (envelope-from ralf.mardorf@alice-dsl.net) Received: from smtp-out02.alice-dsl.net (smtp-out02.alice-dsl.net [88.44.60.9]) by mx1.freebsd.org (Postfix) with ESMTP id 861FBEA6 for ; Tue, 29 Jan 2013 14:29:58 +0000 (UTC) Received: from out.alice-dsl.de ([192.168.125.62]) by smtp-out02.alice-dsl.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 29 Jan 2013 15:27:46 +0100 Received: from freebsd ([78.50.20.64]) by out.alice-dsl.de with Microsoft SMTPSVC(6.0.3790.3959); Tue, 29 Jan 2013 15:27:24 +0100 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Date: Tue, 29 Jan 2013 15:27:23 +0100 Subject: How to fix a broken owner for files from world & build from ports? To: "FreeBSD quest" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ralf Mardorf" Message-ID: User-Agent: Opera Mail/12.12 (FreeBSD) X-OriginalArrivalTime: 29 Jan 2013 14:27:24.0436 (UTC) FILETIME=[C1A3B540:01CDFE2C] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2013 14:29:59 -0000 > I'm surprised, there's no /bin/sh for the backup: > # ls -ld /bin/sh > -r-xr-xr-x 1 rocketmouse wheel 142952 Dec 23 18:38 /bin/sh > # ls -ld /usr/TMP4DIFF/bin/sh > ls: /usr/TMP4DIFF/bin/sh: No such file or directory This is an error in reasoning :D. I compared the original /bin, with a restore from /usr, so it seems to be /bin, but it is /usr/bin ;). I have to keep the system as it is for at least a day, need to do something different and than I can continue, when I'm refreshed. root@freebsd:/usr/TMP4DIFF/ROOT # ls -l bin/sh -r-xr-xr-x 1 root wheel 142952 Dec 23 18:38 bin/sh :D There definitively is need for a real rest, to avoid mistakes. -- Sent from my PC while wearing my Relox watch and Iccug handback. If you pay me, product placement for your lemon could be placed here too, just mailto:/dev/null.