Gadfly DBase and CGI

aaron_watters at my-deja.com aaron_watters at my-deja.com
Wed Jul 28 13:29:14 EDT 1999


>
> Has anyone ever done this?  I keep getting an error in the script
every time
> I go to create a new connection to an existing database.  What
permissions
> must I have (755)?

Usually, you should be running the database in client/server
mode, but there are exceptions, and in the exceptional cases
you should add some "mutual exclusion" trick not provided by gadfly
per se to make sure two cgi scripts never attempt to modify the
same database at once.

In any case the user that opens the database (the one that starts
the server or [exceptionally] the cgi user) should have the ability
to modify the database files and the database directory, if the
database will be modified.

Good luck!  -- Aaron Watters http://www.chordate.com

===

Never attribute to malice what can be explained by incompetence.
   --folklore


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.




More information about the Python-list mailing list