opendir for ubuntu