Commit f0660ec1 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

wrong user was used to change permissions

parent cd712d08
......@@ -89,7 +89,8 @@ ln minerva-scripts/server/ /etc/cron.daily/minerva
echo "localhost:5432:map_viewer:map_viewer:123qweasdzxc" > .pgpass
echo "" >> .pgpass
chmod 0600 .pgpass
chown $USER:$USER .pgpass
user_name=`who am i | awk '{print $1}'`
chown $user_name:$user_name .pgpass
#define default hostname and user for 'psql' command
echo >>.bashrc
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment