setuid somewhat broken in test6-pre9?

From: Meelis Roos (mroos@linux.ee)
Date: Wed Aug 09 2000 - 18:00:20 EST


Man stopped working after upgrade from test5-pre6 to test6-pre9. x86 UP.

man: can't set effective uid: Operation not permitted

Other setuid programs seem to work well (tested only some, they didn't
appear to trigger it because of different usage patterns).

strace on man:

...
getuid() = 557
execve("/usr/lib/man-db/man", ["man", "man"], [/* 16 vars */]) = 0
...
getuid() = 557
geteuid() = 6
geteuid() = 6
setuid(557) = 0
...
geteuid() = 557
setuid(6) = 0
...
geteuid() = 6
setuid(557) = -1 EPERM (Operation not permitted)

---
Meelis Roos (mroos@linux.ee)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:20 EST