Test all flags when opening root directory