Refuse to open directories for reading or writing.