[Python-Dev] cpython (3.2): Issue #11956: Skip test_import.test_unwritable_directory on FreeBSD when run as

Terry Reedy tjreedy at udel.edu
Thu Oct 6 03:33:06 CEST 2011


On 10/5/2011 8:07 PM, Antoine Pitrou wrote:
> On Thu, 6 Oct 2011 10:55:07 +1100
> Cameron Simpson<cs at zip.com.au>  wrote:
>>
>> Equally, why on earth are you running tests as root!?!?!?!?! Madness.
>> It's as bad as compiling stuff as root etc etc. A bad idea all around,
>> securitywise.
>>
>> Especially, I would think, a builtbot. "Oh, let's fetch some shiny new
>> code and run it as the system superuser."
>
> Said buildbot probably runs in a VM.

A different perspective is that running buildbot tests as root does not 
reflect the experience of non-root users. It seems some tests need to be 
run both ways just for correctness testing.

-- 
Terry Jan Reedy



More information about the Python-Dev mailing list