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 h


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Postgres 8.4.4-1 (Enterprise db) problems -- system hosed?
Date: Mon, 5 Jul 2010 11:42:46 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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 ?)

Add an "id" call right before the call to the .py
bootstrapper.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

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