2b45dc47de
TrivialFix Change-Id: I8e4ede8d9867393f066cb1748247245855a4fdae
7 lines
197 B
Bash
7 lines
197 B
Bash
#!/bin/bash
|
|
|
|
# Only update permissions if permissions need to be updated
|
|
if [[ $(stat -c %U:%G /var/lib/zookeeper) != "zookeeper:zookeeper" ]]; then
|
|
sudo chown zookeeper: /var/lib/zookeeper
|
|
fi
|