From owner-freebsd-stable@FreeBSD.ORG Mon Oct 20 10:36:25 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4D84E1DD for ; Mon, 20 Oct 2014 10:36:25 +0000 (UTC) Received: from mta1.riverwillow.net.au (mta1.riverwillow.net.au [IPv6:2001:8000:1000:1801::36]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mta1.riverwillow.net.au", Issuer "Riverwillow Root Certificate 2010-04-12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 94BFFF38 for ; Mon, 20 Oct 2014 10:36:24 +0000 (UTC) Received: from mail1.riverwillow.net.au (mail1.riverwillow.net.au [IPv6:2001:8000:1000:1801::46]) by mta1.riverwillow.net.au (8.14.9/8.14.9) with ESMTP id s9KAaKK9038710 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 20 Oct 2014 21:36:20 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=riverwillow.com.au; s=mta1002; t=1413801380; bh=/a87tX0+Z+0FJ92FiRST62mjMZ9y2WMaM5xDCDDgKnI=; h=Date:From:To:Subject:References:In-Reply-To; b=X+PSXxaSN+4C0SHsOtfdNJJvzqhQGXX/u/L4g+glWNpOW5ZVIO6jJxo1BuewHMRT3 RWJuFM2yoXPmtNxJbsheJ1uLm8MgXXlVOBtEwbnt/oH06xQlLC02EMXP2GVSIqFe0g LSPIcPkMTZbcve8pVu/O59+npTLJnSqZBU/tuICI= Received: from rwpc15.gfn.riverwillow.net.au (rwpc15.gfn.riverwillow.net.au [IPv6:2001:8000:1000:18e1:20c:76ff:fe0a:2117]) (authenticated bits=56) by mail1.riverwillow.net.au (8.14.9/8.14.9) with ESMTP id s9KAaHMV038708 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 20 Oct 2014 21:36:18 +1100 (AEDT) Date: Mon, 20 Oct 2014 21:36:17 +1100 From: John Marshall To: freebsd-stable@freebsd.org Subject: Re: 10.1-RC1 tar(1) spurious directory traversal permission error Message-ID: <20141020103617.GE1120@rwpc15.gfn.riverwillow.net.au> Mail-Followup-To: freebsd-stable@freebsd.org References: <20141020090424.GB1120@rwpc15.gfn.riverwillow.net.au> <20141020101306.GD1120@rwpc15.gfn.riverwillow.net.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i7F3eY7HS/tUJxUd" Content-Disposition: inline In-Reply-To: <20141020101306.GD1120@rwpc15.gfn.riverwillow.net.au> OpenPGP: id=A29A84A2; url=http://pki.riverwillow.com.au/pgp/johnmarshall.asc User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2014 10:36:25 -0000 --i7F3eY7HS/tUJxUd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 20 Oct 2014, 21:13 +1100, John Marshall wrote: > On Mon, 20 Oct 2014, 11:22 +0200, Ronald Klop wrote: > > Maybe the output of 'truss -o /tmp/truss.txt tar -czf dtt.tgz -C =20 > > /data/tftp/thlan .' gives interesting information about what is exactly= =20 > > giving the permission denied. > $ truss -o /tmp/truss.txt tar -czf dtt.tgz -C /data/tftp/thlan . > tar: .: Unable to continue traversing directory tree: Permission denied > tar: Error exit delayed from previous errors. > truss: can not get etype: No such process > $=20 Ahh,=20 # sysctl security.bsd.unprivileged_proc_debug=3D1 security.bsd.unprivileged_proc_debug: 0 -> 1 Copy of truss output available here: http://www.riverwillow.net.au/~john/10.1/tar_truss.txt --=20 John Marshall --i7F3eY7HS/tUJxUd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRE5aEACgkQw/tAaKKahKJK6QCgpXZeDMDwkpBvswoy1JER6+Un uvkAoLTnjPakQarGj4amUkqUwquFEb2U =+fM0 -----END PGP SIGNATURE----- --i7F3eY7HS/tUJxUd--