mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
net/nut: Fix '/var/run' world readable warning
Use /var/run/nut as statepath and set appropriate owner and permissions on /var/run/nut in order to avoid pidfile for nut being world-readable. Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
This commit is contained in:
+1
-1
@@ -506,7 +506,7 @@ CONFIGURE_ARGS += \
|
||||
--without-freeipmi \
|
||||
--$(if $(CONFIG_NUT_SSL),with,without)-ssl $(if $(CONFIG_NUT_SSL),--with-openssl) \
|
||||
--without-libltdl \
|
||||
--with-statepath=/var/run \
|
||||
--with-statepath=/var/run/nut \
|
||||
--with-drvpath=/lib/nut \
|
||||
--with-user=root \
|
||||
--with-group=root
|
||||
|
||||
Reference in New Issue
Block a user