test for cgibin dir existence and permissions