PDA

View Full Version : Question about installing postgresql



MattT
08-06-2003, 04:23 AM
I am new to postgresql. I installed it on Knoppix from debian testing. Then following an on-line tutorial I ran initdb as a common user. This gave the error:
creating configuration files... ./initdb: line 609: /etc/postgresql/1566: Permission denied
initdb failed.
After getting really mad I changed everything that had to do with postgresql to mod 777. Then it worked. Obviously there must be a better answer? Can anyone help?