Setting up Python for CGI
Lee Braiden
lee_b at digitalunleashed.com
Tue Jul 12 18:03:05 UTC 2005
On Tuesday 12 Jul 2005 18:44, Gregory PiƱero wrote:
> I tried what you said and it got my Apache running and it now executes
> the python files. What should the permission level of my python
> filles be? Right now they are 755.
That depends on a few things, I'm afraid. You'll probably want it to be
editable as you, but runnable as the webserver, so you could set it to be
owned by yourusername:www-data, and then make it readable,writeable and
executable for yourself, and readable and executable for the www-data group.
But if you're running the CGI from a home folder, or if you mostly just want
to set this up as an root and not have user-level maintenance of it, it would
be different.
--
Lee Braiden
http://www.DigitalUnleashed.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050712/45d1ec54/attachment.sig>
More information about the ubuntu-users
mailing list