fix ls operation not permitted, return ENODATA