[vlc-devel] [PATCH] contrib: force uid/gid during tarball extractions

Konstantin Pavlov thresh at videolan.org
Thu Jan 10 13:49:20 CET 2019


On Wed, Jan 09, 2019 at 07:35:17PM +0200, Rémi Denis-Courmont wrote:
> Le keskiviikkona 9. tammikuuta 2019, 16.46.40 EET Simon Latapie a écrit :
> > Under rare circonstances, tar will try to preserve uid/gid no matter what,
> > and fail.
> > This can happen for example when trying to build the contribs as a
> > privileged user inside a namespaced container.
> 
> Looks OK, except maybe for portability.

Yeah, this wont work on macOS, since apple tar does not support it.
Surprisingly, it works on bsd tar.

-- 
VideoLAN, Vice President
www.videolan.org
+7 926 165 45 31
@cryothresh


More information about the vlc-devel mailing list