osx direntries needs basep passed