From a75e59161882f9989e3ea76e5c0dc5d5f0f503df Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 21 Mar 2016 01:51:08 -0500 Subject: [PATCH] src/Makefile.am: Create $rundir mode 0755 instead of 0700 Otherwise, $NMRUNDIR/resolv.conf isn't readable by unprivileged users. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 353a31d..aee7eae 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -638,7 +638,7 @@ EXTRA_DIST = \ rundir=$(runstatedir)/NetworkManager statedir=$(localstatedir)/lib/NetworkManager install-data-hook: - $(mkinstalldirs) -m 0700 $(DESTDIR)$(rundir) + $(mkinstalldirs) -m 0755 $(DESTDIR)$(rundir) $(mkinstalldirs) -m 0700 $(DESTDIR)$(statedir) $(mkinstalldirs) -m 0755 $(DESTDIR)$(pkglibdir) -- 2.7.4