main: create parent directories of NMSTATEDIR with permissions 755
authorThomas Haller <thaller@redhat.com>
Mon, 21 Mar 2016 11:01:26 +0000 (12:01 +0100)
committerThomas Haller <thaller@redhat.com>
Mon, 21 Mar 2016 12:31:40 +0000 (13:31 +0100)
commitacf9496ccf4c8186fc3d393b3810eaa968abbce6
treef31f328f2d24d0ba0fd5bea512283503c3c6f1ed
parent8297683605c56efc96defbbb622ff8af8e05bb91
main: create parent directories of NMSTATEDIR with permissions 755

In case, "$PREFIX/var/lib" does not exist, we want to create those
directories with permissions 755, not 700.
src/main-utils.c
src/main-utils.h
src/main.c