make /var/{run, lock, state} not world writable (0755)
authorEtienne CHAMPETIER <champetier.etienne@gmail.com>
Thu, 16 Jun 2016 08:09:15 +0000 (08:09 +0000)
committerJohn Crispin <john@phrozen.org>
Thu, 16 Jun 2016 22:58:34 +0000 (00:58 +0200)
commit7104a2b149f0a870ec36ddff90b5f6a22c0d398d
treea475b7de8f57cd48105ce86504a5111b2bd8af57
parentb8eb07c22fc5f3dea04d9843e8fd6d2eac6e61fa
make /var/{run, lock, state} not world writable (0755)

since commit be950c5e56b86509e1e237931d0ac8203372be82 (09/03/2013)
/var/{run,lock,state} are world writable (0777) which is a security issue
before that they were created by /etc/init.d/boot with normal
permissions (0755), so revert to that state

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
initd/early.c