Catching permission exceptions for .lck files from cleanup_lockdir and redirecting them to the log.