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 Bugs > Re: BUG #4116: ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 3717 of 4089
Post > Topic >>

Re: BUG #4116: Cannot create tablespace: could not set

by alvherre@[EMAIL PROTECTED] (Alvaro Herrera) Jun 6, 2008 at 05:42 PM

Graham Leggett wrote:

> This code makes the incorrect assumption that the platform will allow
the
> postgres user to set the permissions using chmod.

> What this code should be doing is checking that the permissions on the
> directory are 0700, and failing if they are not, leaving it up to the
user
> to fix the problem.
> 
> Redhat Enterprise Linux 5 refuses to allow a user to chmod a directory,
even
> though that user owns that directory. In addition, if SELinux is
enabled,
> this gives a further reason why the code will fail.

Is this something we should do anything about?

-- 
Alvaro Herrera                               
http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 sup****t

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




 3 Posts in Topic:
BUG #4116: Cannot create tablespace: could not set permissions o
minfrin@[EMAIL PROTECTED]  2008-04-19 12:38:41 
Re: BUG #4116: Cannot create tablespace: could not set
alvherre@[EMAIL PROTECTED  2008-06-06 17:42:47 
Re: BUG #4116: Cannot create tablespace: could not set permissio
tgl@[EMAIL PROTECTED] (T  2008-06-06 19:52:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Tue Oct 14 10:38:36 CDT 2008.