mkdir var for locking