This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_shutil fails on NetBSD 2.0
Type: Stage:
Components: Build Versions: Python 2.4
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: jlgijsbers, mikeh-id
Priority: normal Keywords:

Created on 2005-01-12 21:35 by mikeh-id, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg23943 - (view) Author: Mike Howard (mikeh-id) Date: 2005-01-12 21:35
test_shutil.py fails the test 'test_on_error' when run
as root but is ok if run by a mortal user.

This is because NetBSD 2.0 thinks it is ok for root to
remove files and directories for which he does not have
write permission.  A mere mortal cannot do these
things, so test_shutil passes.

I don't know if this is a bug or a feature, but there
probably should be a test to avoid running
'test_on_error' when root is building Python.
msg23944 - (view) Author: Johannes Gijsbers (jlgijsbers) * (Python triager) Date: 2005-01-13 07:23
Logged In: YES 
user_id=469548

This has been fixed on maint24 and HEAD. Thanks for the
report though!
History
Date User Action Args
2022-04-11 14:56:09adminsetgithub: 41434
2005-01-12 21:35:15mikeh-idcreate