From: Rob Brewer Date: Wed, 13 Feb 2019 22:49:11 +0000 (+0000) Subject: Fix ownership of sendEmail script X-Git-Tag: v2.21-core128~20 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=34f4af78a800b250dd3766747607231d3872d40f;ds=sidebyside Fix ownership of sendEmail script The script used to be owned by a non-privileged user and it should just be owned by root.root like any other binary. Signed-off-by: Michael Tremer --- diff --git a/lfs/sendEmail b/lfs/sendEmail index 28646ef93f..171f7ab911 100644 --- a/lfs/sendEmail +++ b/lfs/sendEmail @@ -17,7 +17,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = sendEmail -PAK_VER = 1 +PAK_VER = 2 DEPS = "" @@ -63,6 +63,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && cp -pvf sendEmail /usr/local/bin + chown root.root /usr/local/bin/sendEmail chmod 755 /usr/local/bin/sendEmail @rm -rf $(DIR_APP) @$(POSTBUILD)