From owner-freebsd-stable@FreeBSD.ORG Mon Oct 20 10:29:39 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51C8FC1C for ; Mon, 20 Oct 2014 10:29:39 +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 9B509E27 for ; Mon, 20 Oct 2014 10:29:37 +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 s9KAD8Lt037870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 20 Oct 2014 21:13:08 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=riverwillow.com.au; s=mta1002; t=1413799989; bh=bevhGgufBPpzjviObtZv02eSLO7U4Rq2/D6CTMyS5TQ=; h=Date:From:To:Subject:References:In-Reply-To; b=CUo1bL4H3CL3hsbX0eEpzYx1pHZwiwCwUC5lYogXO2JI4XIOIiRzJuPu8Xj5ZcTRc WjjiXigk9GtuVJAPRGvXjFrGGcuN0uvBSPpMUoY70o9b9bp1az0tyQV1NZ+VMfxjPJ jZnxqeu7oPmfk6q18Ld/F3mfqRYzfD1XlbZOI4Fc= 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 s9KAD6FD037866 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 20 Oct 2014 21:13:08 +1100 (AEDT) Date: Mon, 20 Oct 2014 21:13:06 +1100 From: John Marshall To: freebsd-stable@freebsd.org Subject: Re: 10.1-RC1 tar(1) spurious directory traversal permission error Message-ID: <20141020101306.GD1120@rwpc15.gfn.riverwillow.net.au> Mail-Followup-To: freebsd-stable@freebsd.org References: <20141020090424.GB1120@rwpc15.gfn.riverwillow.net.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qcHopEYAB45HaUaB" Content-Disposition: inline In-Reply-To: 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:29:39 -0000 --qcHopEYAB45HaUaB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. I am not familiar with truss(1). The manual page doesn't indicate that I need to do anything other than issue the command suggested but the truss output file is empty and truss logs an error. $ 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 With with the parent directory set to o+r tar(1) is happy but truss(1) still does nothing. $ truss -o /tmp/truss.txt tar -czf dtt.tgz -C /data/tftp/thlan . truss: can not get etype: No such process $=20 --=20 John Marshall --qcHopEYAB45HaUaB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRE4DIACgkQw/tAaKKahKINbwCbB1X6tS8gvbQnpxp5gif0tRQH PDAAoKKT89JM6yqKXX5qAeICg33GWqK5 =xjDo -----END PGP SIGNATURE----- --qcHopEYAB45HaUaB--