termux-pacman / pacman-for-termux

Special configured pacman for termux.
https://termux-pacman.dev
MIT License
64 stars 6 forks source link

Warning given when extracting (Can't set user=0/group=0) #3

Closed Maxython closed 3 years ago

Maxython commented 3 years ago

When installing packages from pacman (not conflicting), a warning appears.

Example:

warning: warning given when extracting /data/data/com.termux/files/usr/share/pixmaps/archlinux.png (Can't set user=0/group=0 for /data/data/com.termux/files/usr/share/pixmaps/archlinux.png)
warning: warning given when extracting /data/data/com.termux/files/var/run (Can't set user=0/group=0 for /data/data/com.termux/files/var/run)

This is a bug but not critical for pacman.

So I understand that pacman is trying to change the access of a directory or file for users and groups, which is painful.

Maxython commented 3 years ago

The problem was solved.
add.c util.c

Maxython commented 3 years ago

The problem has been completely resolved. add.c