diff --git a/package.sh b/package.sh index 78fe6d48f7..ddd4b56b23 100755 --- a/package.sh +++ b/package.sh @@ -471,7 +471,7 @@ if [ $? -ne 0 ]; then cleanup_exit 1 fi -cp $LOGROTATE $TMP_WORK_DIR/$LOGROTATE_DIR/influxd +install -m 644 $LOGROTATE $TMP_WORK_DIR/$LOGROTATE_DIR/influxdb if [ $? -ne 0 ]; then echo "Failed to copy logrotate configuration to packaging directory -- aborting." cleanup_exit 1