Re: Become another user

2006-03-21 Thread Joel Hedlund
> 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

Re: Become another user

2006-03-21 Thread Ant
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. Cheers, -- Ant... -- http://mail.python.org/mailman/listinfo/python-list

Become another user

2006-03-21 Thread Joakim Hove
Hello, [Disclaimer: This might really be a Unix question ?!] I have written a cgi-script in python - it works reasonably well. The script is invoked by the apache web server and runs as user 'wwwrun'. During the execution of the script I want to save some files, as the script is run bu user '