Forum: Installation

Post: Installation with wrong permissions

Installation with wrong permissions
Sabrina
Feb 9, 2016
Hello,

I installed VoltDB as in the documentation mentioned (https://docs.voltdb.com/UsingVoltDB/installDist.php): "Note that installing as root using the sudo command makes the installation folders read-only for non-privileged accounts."
$ sudo tar -zxvf voltdb-ent-6.0.tar.gz -C /opt
$ cd /opt
$ sudo mv voltdb-ent-6.0 voltdb
$
$ export PATH="$PATH:/opt/voltdb/bin/"

When I looked at the voltdb directory, the permissions are strange... - here is a output:

$ ls -ll
total 12
drwxr-xr-x 3 root root 4096 Oct 14 10:20 jdk
drwxr-xr-x 10 507 1001 4096 Jan 27 01:02 voltdb
drwxr-xr-x 11 507 1001 4096 Dec 11 23:57 voltdb_old

$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/voltdb/bin

When I looked into the bin directory, everyone have execute rights.

What have I done wrong in the installation procedure?

Thanks.

Best regards,
Sabrina
pzhao
Feb 11, 2016
Sabrina,
No, you have done anything wrong. Within /opt/ directory, a standard system location, VoltDB recommends installing here for production systems for ease of use. If you're inclined to, you can tune these permissions for the desired result.
Peter Zhao