Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2014 13:40:12 +0200
From:      "Ronald Klop" <ronald-lists@klop.ws>
To:        freebsd-stable@freebsd.org
Subject:   Re: 10.1-RC1 tar(1) spurious directory traversal permission error
Message-ID:  <op.xn01dalakndu52@ronaldradial.radialsg.local>
In-Reply-To: <20141020103617.GE1120@rwpc15.gfn.riverwillow.net.au>
References:  <20141020090424.GB1120@rwpc15.gfn.riverwillow.net.au> <op.xn0uy3dxkndu52@ronaldradial.radialsg.local> <20141020101306.GD1120@rwpc15.gfn.riverwillow.net.au> <20141020103617.GE1120@rwpc15.gfn.riverwillow.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 20 Oct 2014 12:36:17 +0200, John Marshall  
<john.marshall@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.



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