su: _secure_path: cannot stat .login_conf: Permission denied

Oles Hnatkevych don_oles at able.com.ua
Tue Mar 7 15:43:13 UTC 2006


Hello, Lowell.

LG> Oles Hnatkevych <don_oles at 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 at able.com.ua



More information about the freebsd-questions mailing list