Check if lock dir is writable in perun-base package
Created by: zlamalp
-
In generic slave script perun from perun-base package, check if directory for locks is writable by current user. If not, use /tmp as base for lock dir path. This should be most compatible way to handle locks for all users and OS.
Default lock dir is /var/lock/, but can be set custom in /etc/perunv3.conf.