by graysky » Sat Feb 12, 2022 11:10 am
$this->bbcode_second_pass_quote('vaar', 'T')oday's packages (opus-1.3.1-3-aarch64.pkg.tar.xz and opus-1.3.1-3-armv7h.pkg.tar.xz, for example) have bad UID/GIDs. 1001/1001 in armv7h, 1000/1000 in aarch64. They list as builduser/builduser in the tar.xz.
I don't understand what you're reporting... you run pacman as root, all downloaded files will be owned by root. Is that not the case for you?
$this->bbcode_second_pass_code('', '% stat /var/cache/pacman/pkg/opus-1.3.1-3-aarch64.pkg.tar.xz
File: /var/cache/pacman/pkg/opus-1.3.1-3-aarch64.pkg.tar.xz
Size: 236212 Blocks: 464 IO Block: 4096 regular file
Device: 179,2 Inode: 1444848 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2022-02-12 06:06:18.829623593 -0500
Modify: 2022-02-11 18:41:08.000000000 -0500
Change: 2022-02-12 06:06:18.705625855 -0500
Birth: 2022-02-12 06:06:18.497629650 -0500
')
$this->bbcode_second_pass_quote('vaar', 'T')he same happens with custom packages built with MAKEPKG from source. Instead of root/root, they have the UID/GID from the user that builds them. Bug in makepkg?
This is the expected behavior. You built the package, you own the corresponding tar.pkg.xxx.