Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2014 21:13:06 +1100
From:      John Marshall <john.marshall@riverwillow.com.au>
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>
In-Reply-To: <op.xn0uy3dxkndu52@ronaldradial.radialsg.local>
References:  <20141020090424.GB1120@rwpc15.gfn.riverwillow.net.au> <op.xn0uy3dxkndu52@ronaldradial.radialsg.local>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141020101306.GD1120>