Become another user
joel.hedlund at gmail.com
Tue Mar 21 11:48:20 CET 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).
More information about the Python-list