strace
can't do that.
strace uses a kernel's feature known as ptrace.
setuid is always ignored if a process is ptraced, even if root is ptracing to avoid a root exploit known as myptrace.c.
Я пытаюсь отладить проблему с разрешениями, но у меня возникают проблемы с выяснением, с каким EUID приложение выполняется в момент ошибки.
Есть ли способ заставить strace print эффективно использовать идентификатор пользователя?
strace
can't do that.
strace uses a kernel's feature known as ptrace.
setuid is always ignored if a process is ptraced, even if root is ptracing to avoid a root exploit known as myptrace.c.