On Sat, 08 Dec 2007 19:58:05 +0100, Mark Kettenis wrote: > > Date: Sat, 8 Dec 2007 19:14:22 +0100 > > From: Jan Kratochvil > > > > Hi, > > > > if you run gdb.base/fileio.exp as UID 0 it will print: > > FAIL: gdb.base/fileio.exp: Open for write but no write permission returns EACCES > > FAIL: gdb.base/fileio.exp: Unlinking a file in a directory w/o write access returns EACCES > > People running the testsuite as root deserve what they get. I don't > think we should complicate our code to make that possible, especially > if it involves calling setuid() which is notoriously unportable. OK, this is the other possibility I was considering. Regards, Jan