Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_shutil fails on NetBSD 2.0 #41434

Closed
mikeh-id mannequin opened this issue Jan 12, 2005 · 2 comments
Closed

test_shutil fails on NetBSD 2.0 #41434

mikeh-id mannequin opened this issue Jan 12, 2005 · 2 comments
Labels
build The build process and cross-build

Comments

@mikeh-id
Copy link
Mannequin

mikeh-id mannequin commented Jan 12, 2005

BPO 1101236

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2005-01-13.07:23:52.000>
created_at = <Date 2005-01-12.21:35:15.000>
labels = ['build']
title = 'test_shutil fails on NetBSD 2.0'
updated_at = <Date 2005-01-13.07:23:52.000>
user = 'https://bugs.python.org/mikeh-id'

bugs.python.org fields:

activity = <Date 2005-01-13.07:23:52.000>
actor = 'jlgijsbers'
assignee = 'none'
closed = True
closed_date = None
closer = None
components = ['Build']
creation = <Date 2005-01-12.21:35:15.000>
creator = 'mikeh-id'
dependencies = []
files = []
hgrepos = []
issue_num = 1101236
keywords = []
message_count = 2.0
messages = ['23943', '23944']
nosy_count = 2.0
nosy_names = ['jlgijsbers', 'mikeh-id']
pr_nums = []
priority = 'normal'
resolution = 'duplicate'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1101236'
versions = ['Python 2.4']

@mikeh-id
Copy link
Mannequin Author

mikeh-id mannequin commented Jan 12, 2005

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.

@mikeh-id mikeh-id mannequin closed this as completed Jan 12, 2005
@mikeh-id mikeh-id mannequin added the build The build process and cross-build label Jan 12, 2005
@jlgijsbers
Copy link
Mannequin

jlgijsbers mannequin commented Jan 13, 2005

Logged In: YES
user_id=469548

This has been fixed on maint24 and HEAD. Thanks for the
report though!

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build
Projects
None yet
Development

No branches or pull requests

0 participants