Date: Tue, 7 Mar 2006 17:43:09 +0200 From: Oles Hnatkevych <don_oles@able.com.ua> To: lowell@be-well.ilk.org, Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> Cc: freebsd-questions@freebsd.org Subject: Re[2]: su: _secure_path: cannot stat .login_conf: Permission denied Message-ID: <18581847343.20060307174309@able.com.ua> In-Reply-To: <44lkvmi8cx.fsf@be-well.ilk.org> References: <14553570209.20060306231608@able.com.ua> <44lkvmi8cx.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Lowell. LG> Oles Hnatkevych <don_oles@able.com.ua> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18581847343.20060307174309>