Mathi [2008-09-18 10:48 -0000]: > The command "sudo -u postgres head /var/lib/postgresql/8.3/main/server.key" gives error as below > > head: cannot open `/var/lib/postgresql/7.4/main/server.key' for reading: > Permission denied
Please give the output of
sudo ls -ld /var/lib sudo ls -ld /var/lib/postgresql sudo ls -ld /var/lib/postgresql/7.4 sudo ls -ld /var/lib/postgresql/7.4/main
Mathi [2008-09-18 10:48 -0000]: postgresql/ 8.3/main/ server. key" gives error as below postgresql/ 7.4/main/ server. key' for reading:
> The command "sudo -u postgres head /var/lib/
>
> head: cannot open `/var/lib/
> Permission denied
Please give the output of
sudo ls -ld /var/lib postgresql/ 7.4 postgresql/ 7.4/main
sudo ls -ld /var/lib/postgresql
sudo ls -ld /var/lib/
sudo ls -ld /var/lib/