Determine ownership of a tree