From owner-freebsd-questions@FreeBSD.ORG Fri Feb 6 21:57:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 098B610656CC for ; Fri, 6 Feb 2009 21:57:31 +0000 (UTC) (envelope-from bbdl21548@blueyonder.co.uk) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.freebsd.org (Postfix) with ESMTP id 3BED88FC1D for ; Fri, 6 Feb 2009 21:57:29 +0000 (UTC) (envelope-from bbdl21548@blueyonder.co.uk) Received: from [172.23.170.141] (helo=anti-virus02-08) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1LVYLD-0001PB-2t for freebsd-questions@freebsd.org; Fri, 06 Feb 2009 21:34:27 +0000 Received: from [92.237.59.138] (helo=atlantis) by asmtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1LVYLC-0006kr-L6 for freebsd-questions@freebsd.org; Fri, 06 Feb 2009 21:34:26 +0000 Message-ID: <5523E221AA294ADD9074685CC38EE7A2@atlantis> From: "Jasvinder S. Bahra" To: Date: Fri, 6 Feb 2009 21:34:19 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Mailman-Approved-At: Fri, 06 Feb 2009 22:50:12 +0000 Subject: portsnap: Directory is not writable: /usr/ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 21:57:31 -0000 Everyone, I'm running a number of jails (created using ezjail) on a FreeBSD 6.4 server (RELENG_6_4). If I do a "uname -a", I get the following... FreeBSD machine.domain.tld 6.4-RELEASE-p2 FreeBSD 6.4-RELEASE-p2 #0: Fri Jan 9 00:01:13 GMT 2009 root@machine.domain.tld:/usr/obj/usr/src/sys/MACHINE i386 In any case, portaudit recently let me know that some of my installed packages have been updated so I set the kern_securelevel setting in /etc/rc.conf to "1" and rebooted the machine. I then, as root, executed "portsnap fetch update". Portsnap downloaded the snapshot file, but when it tried to extract it, it failed and I was presented with the following... portsnap: Directory is not writable: /usr/ports If I execute "ls -al /usr/", one of the lines I get back are as follows... lrwxrwxrwx 1 root wheel 19 Jan 22 20:07 ports -> /basejail/usr/ports I'm at something of a loss as to why this is happening. I'm logged in as root, and the above line clearly shows I have full permissions. If I do a "ls -al /basejail/usr/", one of the lines I get back are... drwxr-xr-x 68 root wheel 1536 Jan 9 23:53 ports Anyone have any ideas why this is happening?