Become another user

Joel Hedlund joel.hedlund at gmail.com
Tue Mar 21 05:48:20 EST 2006


> Look at the os module: http://docs.python.org/lib/os-file-dir.html
> 
> This has various functions you may find useful depending on how you
> want to go about it, such as chmod and chown.

Correct me if I'm wrong, but doesn't this also require having a little chat 
with the admin to set things up so the server has permission to give away files 
to Joakim? Say, putting them in a common group or something?

Just making the files world readable may not be the best option (which I 
believe is the only option otherwise).

Cheers!
/Joel Hedlund



More information about the Python-list mailing list