Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Admin > Re: Could not c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 4926 of 5549
Post > Topic >>

Re: Could not create a tablespace - permission denied

by tgl@[EMAIL PROTECTED] (Tom Lane) Apr 19, 2008 at 12:17 PM

Graham Leggett <minfrin@[EMAIL PROTECTED]
> writes:
> Tom Lane wrote:
>> I think this explanation is fiction ... there is no "cacheing of
>> credentials" in there that I know about.

> The server is a standard REHL5 installed copy of postgresql, running as 
> the postgres user (as is standard on RHE5). Both the data directory and 
> the tablespace are running on ext3 filesystems local to the machine, 
> there are no NFS mounts anywhere. The machine does not have SELinux 
> installed, never mind enabled.

> After the postgres user was granted permission to access the tablespace 
> directory, and after it was verified that the postgres user was able to 
> access the tablespace directory, postgresql refused to allow the 
> tablespace to be created until the postgresql server was restarted.

Fascinating.  I think what you're describing must be a kernel bug ---
want to see if you can reproduce it without PG involved?  Just make a
test program that chmod's, sleeps awhile, and chmod's again, and
manually change the permissions while it's sleeping, in the same way
that you did in the problem case.

			regards, tom lane

-- 
Sent via pgsql-admin mailing list (pgsql-admin@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
 




 6 Posts in Topic:
Re: Could not create a tablespace - permission denied
tgl@[EMAIL PROTECTED] (T  2008-04-19 11:34:01 
Re: Could not create a tablespace - permission denied
tgl@[EMAIL PROTECTED] (T  2008-04-19 11:50:29 
Re: Could not create a tablespace - permission denied
jd@[EMAIL PROTECTED] (&q  2008-04-19 09:14:13 
Re: Could not create a tablespace - permission denied
jd@[EMAIL PROTECTED] (&q  2008-04-19 11:51:53 
Re: Could not create a tablespace - permission denied
tgl@[EMAIL PROTECTED] (T  2008-04-19 17:11:02 
Re: Could not create a tablespace - permission denied
tgl@[EMAIL PROTECTED] (T  2008-04-19 12:17:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 17:09:26 CST 2008.