From 145274c001400c1b90ac1e9a747e1e17c1465f73 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 17 Jul 2018 18:08:11 -0700 Subject: [PATCH] Ensure log directories are go+r --- multinode-demo/common.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/multinode-demo/common.sh b/multinode-demo/common.sh index 89206f9685..70c580cd2f 100644 --- a/multinode-demo/common.sh +++ b/multinode-demo/common.sh @@ -29,6 +29,9 @@ if [[ -d "$SNAP" ]]; then # Running inside a Linux Snap? leader_logger="$SNAP/bin/multilog t $SNAP_DATA/leader" validator_logger="$SNAP/bin/multilog t $SNAP_DATA/validator" drone_logger="$SNAP/bin/multilog t $SNAP_DATA/drone" + # Create log directories manually to prevent multilog from creating them as + # 0700 + mkdir "$SNAP_DATA"/{drone,leader,validator} SOLANA_METRICS_CONFIG="$(snapctl get metrics-config)" SOLANA_CUDA="$(snapctl get enable-cuda)"