diff --git a/install-data b/install-data index d2653c79..e0e933eb 100755 --- a/install-data +++ b/install-data @@ -8,11 +8,11 @@ if ! [ -d "$DATA_PATH" ]; then echo "Creating cathook data directory at $DATA_PATH" mkdir -p "$DATA_PATH" chown -R $user "$DATA_PATH" - chmod -R 777 "$DATA_PATH" + chmod -R 774 "$DATA_PATH" fi echo "Installing cathook data to $DATA_PATH" rsync -avh "data/" "$DATA_PATH" rsync -avh --ignore-existing "config_data/" "$DATA_PATH" chown -R $user "$DATA_PATH" -chmod -R 777 "$DATA_PATH" +chmod -R 774 "$DATA_PATH"