mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 09:20:32 +01:00
src/Makefile.am: create $rundir mode 0755 instead of 0700
Otherwise, $NMRUNDIR/resolv.conf isn't readable by unprivileged users. https://mail.gnome.org/archives/networkmanager-list/2016-March/msg00124.html
This commit is contained in:
parent
357a1c61a0
commit
b907d90f61
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue