[issue5435] test_httpservers on Debian Testing

Hirokazu Yamamoto report at bugs.python.org
Sat Mar 7 19:20:41 CET 2009


Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:

Probably this is short code to reproduce "permission denied".

import os, pwd
nobody = pwd.getpwnam('nobody')[2]
os.setuid(nobody)
open("dummy.txt", "w").write("foo") # permission denied

Still I cannot understand what's going on. Is debian more secure than
other unixes?

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5435>
_______________________________________


More information about the Python-bugs-list mailing list