ncp: put the information flags and entry flags in the right place.
Everything else is put into a subtree; put them in the subtree as well.
(cherry picked from commit a734de58)
Everything else is put into a subtree; put them in the subtree as well.
(cherry picked from commit a734de58)