]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ntp: Make /etc/ntp owned by root
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 30 Oct 2020 15:08:55 +0000 (15:08 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 30 Oct 2020 15:08:55 +0000 (15:08 +0000)
This is required for ntpd being able to write its own drift file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/ntp

diff --git a/lfs/ntp b/lfs/ntp
index 7a10f1737c0aefadf6dbbb835c3b6e5d19c8266e..c8f69039d7a50c441f435799447517737ed7c6c5 100644 (file)
--- a/lfs/ntp
+++ b/lfs/ntp
@@ -82,7 +82,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && make install
 
        -mkdir /etc/ntp
-       chown -R ntp:ntp /etc/ntp
        install -v -m 644 $(DIR_SRC)/config/ntp/ntp.conf /etc/ntp.conf
 
        #Enable it by default...