[Bug-tar] two small patches

2010-06-15 Thread Giuseppe Scrivano
Hello, I have attached two small patches. Cheers, Giuseppe >From 7512468a7f9f354839a974d69bd2341deb64e1b4 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 15 Jun 2010 17:04:22 +0200 Subject: [PATCH 1/2] Shutup a gcc warning. * src/common.h: Add prototype for `label_notfo

Re: [Bug-tar] two small patches

2010-06-16 Thread Giuseppe Scrivano
Hi Paul, Paul Eggert writes: > Thanks for the missing prototype, but I don't see why replacing > tar_copy_str with strncpy is a win. The former is much more > efficient than the latter when the string length is much smaller > than the LEN argument. This is because the latter always stores > LE

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

2017-11-13 Thread Giuseppe Scrivano
Hi, I am trying to extract as a non root user, using the options --no-same-owner --no-same-permissions --delay-directory-restore. Using the file: https://registry.access.redhat.com/v2/openshift3/container-engine/blobs/sha256:51d928af4977fea04f07eebf18c2060b66a2cbf4ecc45e9ba892295d95e21ad4 tar f

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