>> summary: >> Issue #11956: Skip test_import.test_unwritable_directory on FreeBSD when >> >> run as >> root (directory permissions are ignored). > > The same directory permission semantics apply to other (all?) > BSD-derived systems, not just FreeBSD. For example, the test still > fails in the same way on OS X when run via sudo. >
Thanks, I didn't know: I only noticed this on the FreeBSD buildbots (I guess OS-X buildbots don't run as root). Note that it does behave as "expected" on Linux (note the use of quotation marks, I'm not sure whether this behavior is authorized by POSIX). I changed the test to skip when the effective UID is 0, regardless of the OS, to stay on the safe side. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com