Why Dropbox causes PostgreSQL permission denied errors?
问题 I installed postgresql-common and postgresql-9.4 with the package manager apt-get . I changed my database system from OSX to Debian 8.1 after which I have had difficulties with Permission denied errors. The user postgres exists ( CREATE USER postgres; ) and database detector exists CREATE DATABASE detector WITH OWNER=postgres; ). I run successfully masi@pc212:~$ sudo -u postgres psql detector -c "DROP TABLE measurements;"DROP TABLE masi@pc212:~$ sudo -u postgres psql detector -c "CREATE TABLE