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

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


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.

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
  $ 

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
  $ 

-- 
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/148e23e8/attachment.sig>


More information about the freebsd-stable mailing list