Hirokazu Yamamoto <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue5435>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to