add mode, owner and groups checks to inspect