Flink / dokku-psql-single-container

Plugin for dokku that provides a Postgresql server in a single container
MIT License
51 stars 9 forks source link

dokku 0.3.17 deb's postinst changes owner of /home/dokku/.psql-sc/data #5

Closed znz closed 9 years ago

znz commented 9 years ago

After upgrading dokku 0.3.17 deb, postgres causes permission errors.

Owner of /home/dokku/.psql-sc/data is 999 normally. But sshcommand create dokku /usr/local/bin/dokku in dokku.postinit makes its owner dokku. https://github.com/progrium/dokku/blob/713a8d4f312d03f3c7ef0a7dc0c08eeaab917150/debian/postinst#L12 https://github.com/progrium/sshcommand/blob/e6d1655ffb4e381910d14eeb92dd9b32456a5fd2/sshcommand#L26

After upgrading, I restore permissions using chown -R 999 /home/dokku/.psql-sc/data now.

Flink commented 9 years ago

Ah yes, you’re right. Maybe documenting this particular issue in the README would be enough?

znz commented 9 years ago

Sorry for late reply. It's enough for me. Thank you.