10.1-RC1 tar(1) spurious directory traversal permission error

John Marshall john.marshall at riverwillow.com.au
Mon Oct 20 10:36:25 UTC 2014


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  
> > /data/tftp/thlan .' gives interesting information about what is exactly  
> > 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
>   $ 

Ahh, 

  # sysctl security.bsd.unprivileged_proc_debug=1
  security.bsd.unprivileged_proc_debug: 0 -> 1

Copy of truss output available here:

  http://www.riverwillow.net.au/~john/10.1/tar_truss.txt

-- 
John Marshall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20141020/5b459396/attachment.sig>


More information about the freebsd-stable mailing list