Hint to set owner for tablespace directory - Mailing list pgsql-hackers

From Maksim Milyutin
Subject Hint to set owner for tablespace directory
Date
Msg-id 5ca60e1a-26f9-89fd-e912-021dd2b8afe2@gmail.com
Whole thread Raw
Responses Re: Hint to set owner for tablespace directory
Re: Hint to set owner for tablespace directory
Re: Hint to set owner for tablespace directory
List pgsql-hackers
Hi!


I have noticed the novice users are stuck trying to create tablespace 
over a directory whose owner is not the system postgres user. They 
observed the message "could not set permissions on directory ...: 
permission denied".

I want to add patch that prints hint to set required owner for the 
tablespace directory if this is the cause of the problem (*errno == 
EPERM* after calling *chmod*).


-- 
Regards,
Maksim Milyutin


Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Make executor's Range Table an array instead of a List
Next
From: Pavel Luzanov
Date:
Subject: Re: [HACKERS] proposal: schema variables