gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Postgres 8.4.4-1 (Enterprise db) problems -- system


From: Dave Cramer
Subject: Re: [Gnumed-devel] Postgres 8.4.4-1 (Enterprise db) problems -- system hosed?
Date: Mon, 5 Jul 2010 06:04:35 -0400

On Mon, Jul 5, 2010 at 5:42 AM, Karsten Hilbert <address@hidden> wrote:
> On Mon, Jul 05, 2010 at 10:36:34AM +0200, Hilbert, Sebastian wrote:
>
>> > >     cwd = os.getcwdu()
>> > >
>> > > OSError: [Errno 13] Permission denied
>> >
>> > Well, check the value of script_base_dir (should be
>> > something like ../server/sql/v6-v7/python/) and look up the
>> > permissions in the file system.
>>
>> The base directory has the permissons of the logged in user (when unzipped as
>> this user) and the subsequent directories have the permissions of the 
>> original
>> user in the tarball ( might be unknown user)
>
> I referred to directories *above* the base directory, not
> below it.
>
>> That would make me think that it has nothing to do with the subdirectories of
>> the tarball but rather getcwd or getcwdu does not work in the user's
>> directory.
>
> Now, that would be the oddest of all - the user not being
> able to cwd() in his own directory !
>
>> It would be interesting to see which user issues the getcwd call
>> (root ? postgres ? loged-in user ?)

This is typically because the postgresql user does not have a home directory.


Dave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]