Re: CGI. postgres local install, DBD::Pg fails



On Aug 7, 9:50 am, brian.darkbl...@xxxxxxxxx wrote:
On Aug 7, 8:10 am, "J. Gleixner" <glex_no-s...@xxxxxxxxxxxxxxxxxxxxx>
wrote:

brian.darkbl...@xxxxxxxxx wrote:
DBD::Pg installed fine on a stock OS X machine. Apache is turned on
via web sharing.

When we installed DBD::Pg, it magically 'found' that postgres was
installed in the local (admin) folder instead of /usr/local. All
DBD::Pg test ran as fine.

BUT when code runs as a CGI, the CGI user 'www' apparently cannot
access the postgres libraries. A quick attempt at setting a library's
permissions (libq ?) was no help.

suggestions welcome

How do you know 'www' can't access the libraries? What is the error?

I am not at the machine at this moment, but, two knowledgeable people
looked carefully at the logs and said that this was the case. I will
be there on the show floor at LinuxWorld later today. Suggestions
welcome.

a manual fix of permissions did the trick.. nothing more exotic than
that.

.



Relevant Pages

  • Re: Ensure Directory is writable for All Users
    ... This grants admins all permissions, and most permissions to everyone else. ... CSIDL_COMMON_DOCUMENTS is not the correct folder, because my files are configuration files and should not be visible to the user. ... only users with admin rights can modify files in this folder. ... Tell the customer never to install this program into "Program Files". ...
    (microsoft.public.vc.mfc)
  • Re: NTFS - Restrict file deletion
    ... NTFS permissions are XP standard. ... File is in folder. ... the Admin from deleting a file or folder. ... check on "Inherit from Parent...", click Apply, click ...
    (microsoft.public.windowsxp.general)
  • Re: Word mail merge data source
    ... we still did not get it working using UNC. ... Word on it) then there may be a problem if the folder containing the data ... but just because a user has full admin rights does not necessarily ... superset of other users' permissions - for example, ...
    (microsoft.public.word.vba.general)
  • Re: Word mail merge data source
    ... Word on it) then there may be a problem if the folder containing the data ... Word builds a connection string. ... but just because a user has full admin rights does not necessarily ... superset of other users' permissions - for example, ...
    (microsoft.public.word.vba.general)
  • RE: Share permissions question
    ... Thanks for your prompt reply and valuable info David. ... Ex boyfriend b/c he set up computer obv knows my admin rights number. ... there are application folders that require special permissions such as ... With the Advanced Security Settings Permissions (Traverse folder, ...
    (microsoft.public.windows.server.general)