Comment 20 for bug 225125

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

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