FFmpeg-Builds
FFmpeg-Builds copied to clipboard
Files inside tar archives are owned by 1001:127 + inconsistency in latest vs versioned tars ownership
$ tar -tvf ffmpeg-master-latest-linux64-gpl.tar.xz | head -n1
drwxr-xr-x runner/docker 0 2024-11-04 17:38 ffmpeg-master-latest-linux64-gpl/
$ tar --numeric-owner -tvf ffmpeg-master-latest-linux64-gpl.tar.xz | head -n1
drwxr-xr-x 1001/127 0 2024-11-04 17:38 ffmpeg-master-latest-linux64-gpl/
$ tar -tvf ffmpeg-N-117703-gdf00705e00-linux64-gpl.tar.xz | head -n1
drwxr-xr-x 1001/127 0 2024-11-04 14:33 ffmpeg-N-117703-gdf00705e00-linux64-gpl/
-
I guess, humans prefer everything inside tars to be owned by root.
-
Latest tars keep ownership in symbolic and numerical form, while versioned ones only has numbers. Under some conditions, extracting both would make the files owned by different entities. Conditions:
- extract as root
- plain
tar xfwithout--no-same-owneror--numeric-owner - there is a user
runnerwith uid other than1001and/or there is a groupdockerwith gid other than127
Under these conditions, tar would map
runner:dockerto something other than1001:127for the latest tars, and keep it1001:127for the versioned ones.