Re: Improved security for https://www.postgresql.org/docs/current/install-make.html

2024-11-13 Thread Peter Eisentraut
On 12.11.24 22:50, Bear Giles wrote: My point was mostly that I did a fresh 'git clone', followed the instructions, and was immediately hit by a "permission denied" error because the make script tried to create a directory under /usr/local. It wasn't clear whether that was the only thing that r

Re: Improved security for https://www.postgresql.org/docs/current/install-make.html

2024-11-12 Thread Bear Giles
You'll want to update the existing page then! :-) My point was mostly that I did a fresh 'git clone', followed the instructions, and was immediately hit by a "permission denied" error because the make script tried to create a directory under /usr/local. It wasn't clear whether that was the only th

Re: Improved security for https://www.postgresql.org/docs/current/install-make.html

2024-11-11 Thread Peter Eisentraut
On 06.11.24 22:58, PG Doc comments form wrote: The 'short' script can then be rewritten as ``` # work done as a regular user ./configure make build # work that requires ROOT access su mkdir /usr/local/pgsql/data chown (current user):(current group) /usr/local/pgsql adduser --system --group post

Improved security for https://www.postgresql.org/docs/current/install-make.html

2024-11-07 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/17/install-make.html Description: The current 'short' version is ``` ./configure make su make install adduser postgres mkdir -p /usr/local/pgsql/data chown postgres /usr/local/pgsql/data su