Correcting the lock dir
Ensuring configs and logs have correct ownership