base-files: chmod 1777 /var/lock
authorDeomid Ryabkov <rojer@rojer.me>
Sat, 23 Oct 2021 13:22:39 +0000 (16:22 +0300)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 5 Nov 2021 20:24:04 +0000 (21:24 +0100)
commit2f04012b20515eec74563de74d0528e603aa6f89
treec6ea46c3971b29bc17e6e63a64aef9b387f5f03f
parent6ec5dbd2a138d95880953e8e3a67c0e250aabf4c
base-files: chmod 1777 /var/lock

Per FHS 3.0, /var/lock is the location for lock files [1].
However its current permissions (755) are too restrictive
for use by unprivileged processes.
Debian and Ubuntu set them to 1777, and now so do we.

[1] <https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#varlockLockFiles>

Signed-off-by: Deomid Ryabkov <rojer@rojer.me>
[fixed typo in commit message, had to remove "rojer" due to git hooks]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(cherry picked from commit 430f69194388ad6a7826a51e0e2b2dd478e27f0f)
package/base-files/files/etc/init.d/boot