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

Ronald Klop ronald-lists at klop.ws
Mon Oct 20 11:40:20 UTC 2014


On Mon, 20 Oct 2014 12:36:17 +0200, John Marshall  
<john.marshall at riverwillow.com.au> wrote:

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

Interesting.

Maybe the people at the mailinglists at http://www.libarchive.org/ are  
also interested. That is the source of the tar command in FreeBSD.

Ronald.


More information about the freebsd-stable mailing list