From owner-freebsd-questions@FreeBSD.ORG Tue Dec 29 14:45:18 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 908EB106566B for ; Tue, 29 Dec 2009 14:45:18 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.pcl-ipout01.plus.net (relay.pcl-ipout01.plus.net [212.159.7.99]) by mx1.freebsd.org (Postfix) with ESMTP id 2F2BA8FC17 for ; Tue, 29 Dec 2009 14:45:17 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAHedOUtUXeby/2dsb2JhbADVX4QzBIFl Received: from relay01.plus.net ([84.93.230.242]) by relay.pcl-ipout01.plus.net with ESMTP; 29 Dec 2009 14:16:12 +0000 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by relay01.plus.net with esmtp (Exim) id 1NPcrs-00015R-Lq for freebsd-questions@freebsd.org; Tue, 29 Dec 2009 14:16:12 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1NPcrs-0000NV-9y for freebsd-questions@freebsd.org; Tue, 29 Dec 2009 14:16:12 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Tue, 29 Dec 2009 14:16:12 +0000 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912291416.12156.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 73532414798273832c935a73a22013e8 Subject: pkg_info fails with "leave_playpen: can't chdir back to ''" 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: Tue, 29 Dec 2009 14:45:18 -0000 If I run pkg_info as root it fails as shown below. But if I run it as a normal user I get a list of all 708 packages without any error. curlew:/root# uname -a FreeBSD curlew.lan 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Sun Dec 13 15:40:42 GMT 2009 root@curlew.lan:/usr/obj/usr/src/sys/GENERIC i386 curlew:/root# pkg_info -Ia GraphicsMagick-1.1.15_1,1 Fast image processing tools based on ImageMagick ORBit2-2.14.17 High-performance CORBA ORB with support for the C language OpenEXR-1.6.1_2 A high dynamic-range (HDR) image file format a2ps-a4-4.13b_4 Formats an ascii file for printing on a postscript printer aalib-1.4.r5_4 An ascii art library adobe-cmaps-20051217_1 Adobe CMap collection pkg_info: leave_playpen: can't chdir back to '' -- Mike Clarke