Closed znz closed 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
/home/dokku/.psql-sc/data
sshcommand create dokku /usr/local/bin/dokku
dokku.postinit
dokku
After upgrading, I restore permissions using chown -R 999 /home/dokku/.psql-sc/data now.
chown -R 999 /home/dokku/.psql-sc/data
Ah yes, you’re right. Maybe documenting this particular issue in the README would be enough?
Sorry for late reply. It's enough for me. Thank you.
After upgrading dokku 0.3.17 deb, postgres causes permission errors.
Owner of
/home/dokku/.psql-sc/data
is 999 normally. Butsshcommand create dokku /usr/local/bin/dokku
indokku.postinit
makes its ownerdokku
. https://github.com/progrium/dokku/blob/713a8d4f312d03f3c7ef0a7dc0c08eeaab917150/debian/postinst#L12 https://github.com/progrium/sshcommand/blob/e6d1655ffb4e381910d14eeb92dd9b32456a5fd2/sshcommand#L26After upgrading, I restore permissions using
chown -R 999 /home/dokku/.psql-sc/data
now.