Get.dgraph.io script install dgraph binaries unknown uid/gid


Report a Dgraph Bug

After installing dgraph with https://get.dgraph.io, the dgraph binaries are installed with unknown uid of 1001 and gid of 1002.

What version of Dgraph are you using?

n/a as installer

Have you tried reproducing the issue with the latest release?

n/a as installer

What is the hardware spec (RAM, OS)?

CentOS 8

Steps to reproduce the issue (command/config used to run Dgraph).

# run as root
sudo su -
# install dgraph
DGRAPH_VERSION='v20.07.0'
curl -sSf https://get.dgraph.io | \
 ACCEPT_LICENSE="y" VERSION="$DGRAPH_VERSION" bash

Expected behaviour and actual result.

The expected behavior would be this:

# ls -la /usr/local/bin
total 73892
drwxr-xr-x.  2 root root       54 Aug  8 22:54 .
drwxr-xr-x. 12 root root      131 Aug  4 07:59 ..
-rwxr-xr-x.  1 root root 11108296 Jul 28 22:53 badger
-rwxr-xr-x.  1 root root 44843248 Jul 28 22:52 dgraph
-rwxr-xr-x.  1 root root 19707032 Jul 28 22:53 dgraph-ratel

The actual behavior is:

# ls -la /usr/local/bin
total 73892
drwxr-xr-x.  2 root root       54 Aug  8 22:54 .
drwxr-xr-x. 12 root root      131 Aug  4 07:59 ..
-rwxr-xr-x.  1 1001 1002 11108296 Jul 28 22:53 badger
-rwxr-xr-x.  1 1001 1002 44843248 Jul 28 22:52 dgraph
-rwxr-xr-x.  1 1001 1002 19707032 Jul 28 22:53 dgraph-ratel