Hirokazu Yamamoto <ocean-c...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue5435> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com