From owner-freebsd-questions Sun Jul 1 18: 7: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from k0r3.reflektor.cz (k0r3.reflektor.cz [212.24.129.54]) by hub.freebsd.org (Postfix) with SMTP id 88C4037B401 for ; Sun, 1 Jul 2001 18:07:00 -0700 (PDT) (envelope-from cynic@mail.cz) Received: (qmail 10910 invoked by uid 202); 2 Jul 2001 01:06:58 -0000 Received: from unknown (HELO zvahlav.mail.cz) (212.24.143.100) by k0r3.reflektor.cz with SMTP; 2 Jul 2001 01:06:58 -0000 Message-Id: <5.1.0.14.2.20010702022644.02037778@mail.cz> X-Sender: cynic@mail.cz X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 02 Jul 2001 03:15:14 +0200 To: freebsd-questions@freebsd.org From: Cynic Subject: question on ports Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there, I just tried to install samba with # make PREFIX=/usr/local/samba install and it failed with Installing SWAT in /usr/local/samba/share/swat Installing the Samba Web Administration Tool mkdir: /usr/local/samba/share: No such file or directory Failed to make directory /usr/local/samba/share/swat, does root have privileges? I then went, and (per suggestion) tried # make clean # make PREFIX=/tmp/samba install and it completed successfully. Seems like the ports framework is subject to some restrictions even when used by root. What are these restrictions, and how are they achieved? I grepped around the handbook, and the porter's handbook, but didn't spot anything related. TIA cynic@mail.cz ------------- And the eyes of them both were opened and they saw that their files were world readable and writable, so they chmoded 600 their files. - Book of Installation chapt 3 sec 7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message