Permissions for the directories created during install depended on the
umask of the user running the script. Now umask is reset inside the script
to remove such dependency.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
make_args=
fi
+# Make sure that directories will get correct permissions
+umask 0022
+
# install ganeti as a real tree
make $make_args install DESTDIR="$TXD"