User postgres can't write to /var/lib/postgresql
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-common (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Unable to write to history log. Seems to be the same problem as bug 32696 which was marked as fixed back in 2006. But, it happens to me too after straight postgress installation on an Ubuntu 14.04 Amazon EC2 instance.
Steps taken to install:
<Stand up EC2 instance>
$ sudo apt-get install postgresql postgresql-contrib
$ sudo apt-get install pgadmin3
Problem occurs:
ubuntu@
psql (9.3.4)
Type "help" for help.
postgres=# \password postgres
Enter new password:
Enter it again:
postgres=# \q
could not save history to file "/var/lib/
<ctrl-d>
Listing of /var/lib/postgresql directory:
ubuntu@
total 16
drwxr-xr-x 3 postgres postgres 4096 Jun 26 14:58 .
drwxr-xr-x 41 root root 4096 Jun 26 14:54 ..
drwxr-xr-x 3 postgres postgres 4096 Jun 26 14:54 9.3
-rw------- 1 postgres postgres 19 Jun 26 14:58 .psql_history
Diagnostics
ubuntu@
Description: Ubuntu 14.04 LTS
Release: 14.04
ubuntu@
postgresql:
Installed: 9.3+154
Candidate: 9.3+154
Version table:
*** 9.3+154 0
500 http://
100 /var/lib/
Status changed to 'Confirmed' because the bug affects multiple users.