From owner-freebsd-questions Thu Jun 8 11:16:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.surf1.de (mail.surf1.de [194.25.165.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A1B737C0E9 for ; Thu, 8 Jun 2000 11:16:39 -0700 (PDT) (envelope-from nils@nightcastleproductions.org) Received: from sundance.ncptiddische.net (pC19F69AD.dip0.t-ipconnect.de [193.159.105.173]) by mail.surf1.de (8.9.3/8.9.3) with ESMTP id UAA18636 for ; Thu, 8 Jun 2000 20:16:37 +0200 Received: from ilka.ncptiddische.net (ilka.ncptiddische.net [192.168.0.2]) by sundance.ncptiddische.net (8.9.3/8.9.3) with ESMTP id UAA38576 for ; Thu, 8 Jun 2000 20:19:22 +0200 (CEST) (envelope-from nils@nightcastleproductions.org) Received: from ilka.ncptiddische.net (ilka.ncptiddische.net [192.168.0.2]) by ilka.ncptiddische.net (8.9.3/8.9.3) with ESMTP id UAA04653 for ; Thu, 8 Jun 2000 20:18:27 +0200 (CEST) (envelope-from nils@nightcastleproductions.org) Date: Thu, 8 Jun 2000 20:18:27 +0200 (CEST) From: Nils Holland X-Sender: nils@ilka.ncptiddische.net To: questions@freebsd.org Subject: INSTALLWORLD via nfs Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, today I build a updated version of the system on one of my machines. After having it installed there successfully, I wanted to start updating my other machines via nfs ... but that's where the trouble begins! So, according to the handbook, I wanted to mount / and /usr of the target machine on the source machine. I went to the target machine and edited the /etc/exports like this: / -maproot=0 ilka /usr -maproot=0 ilka The maproot=0 should allow me to write (as root) into the exported filesystems. I then went to the source-computer and did: mount tempest:/ /mnt mount tempest:/usr /mnt/usr Then it was time to do a cd /usr/src - make installworld DESTDIR=/mnt. Great. It seemed to work... BUT suddenly I got a line like install: /mnt/usr/lib/libscrypt.so.2: Permission denied. Until this point everything worked well. Now, as creative as I am, I walked back to the target machine and did chflags noschg /usr/lib/libscrypt.so.2 Another make installworld DESTDIR=/mnt on the source machine showed that this problem did not occur again - but the same "Permission Denied" message showed up again, this time refering to another file in /usr/lib on the target machine. Why does this happen? I think I did everything according to the handbook. A chflags -R noschg * in /usr/lib on the target machine should fix the problem, but I wonder if that's the right way... Any suggestions what I'm doing wrong and what I should do instead are welcome! Nils Holland, nils@nightcastleproductions.org ------------------------------------------------------------- NightCastle Productions Websites: www.nightcastleproductions.org - The Main Site www.runaway-horses.net - Articles and more www.comeinthenight.org - The Jim Steinman Adventure Game www.frozenfeelings.com - Frozen Feelings Music ------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message