From owner-freebsd-questions@FreeBSD.ORG Tue Mar 7 15:43:13 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 2E8EB16A420 for ; Tue, 7 Mar 2006 15:43:13 +0000 (GMT) (envelope-from don_oles@able.com.ua) Received: from able.com.ua (able.com.ua [80.91.162.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A074443D46 for ; Tue, 7 Mar 2006 15:43:12 +0000 (GMT) (envelope-from don_oles@able.com.ua) Received: from able.com.ua (localhost [127.0.0.1]) by able.com.ua (Postfix) with ESMTP id 2809144BC4; Tue, 7 Mar 2006 17:43:07 +0200 (EET) Received: from ohnatkevych.kiev.ua.alfabank (unknown [80.91.172.226]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by able.com.ua (Postfix) with ESMTP id BC05444BBA; Tue, 7 Mar 2006 17:43:06 +0200 (EET) Date: Tue, 7 Mar 2006 17:43:09 +0200 From: Oles Hnatkevych X-Mailer: The Bat! (v1.60) X-Priority: 3 (Normal) Message-ID: <18581847343.20060307174309@able.com.ua> To: lowell@be-well.ilk.org, Lowell Gilbert In-Reply-To: <44lkvmi8cx.fsf@be-well.ilk.org> References: <14553570209.20060306231608@able.com.ua> <44lkvmi8cx.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP at ABLE Cc: freebsd-questions@freebsd.org Subject: Re[2]: su: _secure_path: cannot stat .login_conf: Permission denied X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Oles Hnatkevych List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 15:43:13 -0000 Hello, Lowell. LG> Oles Hnatkevych writes: >> I am trying to "move" FreeBSD 6.1 installation from one hard drive to >> another. I do stuff like "newfs /dev/ad1s1a" and so on, then I mount >> all new partitions to some tree in /mnt, then I do simple things: >> tar --one-file-system -cf - -C / .|tar xpvf - -C /mnt/new/ >> and just like this I copy /, /var, /usr. LG> Use dump/restore for moving a whole filesystem. The problem was with permissions. I do not know why, but in fact I had to "chmod go+rx /usr/*" to make it work. Other partitions tar copied without problems ;-) It was not easy to find what was wrong... Now everything works perfect. -- Oles mailto:don_oles@able.com.ua