Root directory locking