Re: [Bug-tar] get "Cannot unlink: Permission denied" while extracting tar as non root user

2017-11-16 Thread Sergey Poznyakoff
Hi Giuseppe, Thanks for the report. Indeed, the function create_placeholder_file made incorrect assumption about the ordering of the elements in the list. I have pushed commit 3ae075a51a to fix that. Best regards, Sergey

Re: [Bug-tar] get "Cannot unlink: Permission denied" while extracting tar as non root user

2017-11-16 Thread Giuseppe Scrivano
Hi Sergey, Sergey Poznyakoff writes: > Hi Giuseppe, > > Thanks for the report. Indeed, the function create_placeholder_file made > incorrect assumption about the ordering of the elements in the list. > I have pushed commit 3ae075a51a to fix that. thanks a lot, this does indeed fix the issue I w

Re: [Bug-tar] [PATCH] tests: more deterministic xattr07

2017-11-16 Thread Sergey Poznyakoff
Pavel Raiskup ha escrit: > Ping, I re-evaluated this issue again during work on back-patching. Applied, sorry for the delay. Regards, Sergey

Re: [Bug-tar] [PATCH] ZSTD compression support.

2017-11-16 Thread Nick Terrell
On 11/15/17, 1:03 PM, "Adam Borowski" wrote: > Its customary file extension is ".zst", while some tools use ".tzst" as a > shorthand for ".tar.zst". I've tested your patch with this script. I think I've covered most of the surface area, but I'm sure there are some niche features that this doesn't

[Bug-tar] tar writes invalid mtime for times before the epoch

2017-11-16 Thread Rodrigo Queiro
Hi bug-tar, If I use --mtime=1970-01-01 on a machine set to CET (UTC+1), tar will create a file where the mtime field contains non-ASCII bytes and no null character: see the ... f1f0 bytes in the dump below. I've tested with 1.27.1 and 1.29. I'd expect tar to emit an error. I discovered thi