ENH: Filter out read only directory

#3366