Strace clearly shows schroot drops its privileges:

...
getuid()                                = 10003
mlock(0x7f146bcb9000, 32768)            = 0
geteuid()                               = 0
setuid(10003)                           = 0
getuid()                                = 10003
geteuid()                               = 10003
setuid(0)                               = -1 EPERM (Operation not permitted)
...

before attempting to do the stuff that requires root access:

...
stat("/dev/vg/schroot-lenny32", 0x7fff779e8e88) = -1 EACCES (Permission denied)
...

Brian May

-- 
Different permission denied errors
https://bugs.launchpad.net/bugs/486944
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to