mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-11 02:51:10 +00:00
The session's proot runs with -i <app uid>, and the rootfs names that uid root, so the client calls itself root while geteuid() returns the app's uid. The read-only retry required geteuid() == 0 and never ran: the Proton Experimental (ARM64) update still failed with Missing file permissions on wineopenxr.dll (2026-09-26 16:07, 2,471 read-only files). Also recognise the client by the path it was started by: the kernel's /proc/self/exe names proot's loader for every process in the session.