J
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 'wwwrun' that is also the resulting ownership of
the files created. Since I don't have root access on the server these
files create some hassle.
Hence my question is whether it is possible (from the the python
script) to change identity 'wwwrun' -> 'myuser' during execution?
Best Regards
Joakim Hove
--
Joakim Hove
hove AT ntnu.no /
Tlf: +47 (55 5)8 27 13 / Stabburveien 18
Fax: +47 (55 5)8 94 40 / N-5231 Paradis
http://www.ift.uib.no/~hove/ / 55 91 28 18 / 92 68 57 04
[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 'wwwrun' that is also the resulting ownership of
the files created. Since I don't have root access on the server these
files create some hassle.
Hence my question is whether it is possible (from the the python
script) to change identity 'wwwrun' -> 'myuser' during execution?
Best Regards
Joakim Hove
--
Joakim Hove
hove AT ntnu.no /
Tlf: +47 (55 5)8 27 13 / Stabburveien 18
Fax: +47 (55 5)8 94 40 / N-5231 Paradis
http://www.ift.uib.no/~hove/ / 55 91 28 18 / 92 68 57 04