Bug fixes.
 -Erik
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c
index 9ea3b4e..dc245a1 100644
--- a/coreutils/mkdir.c
+++ b/coreutils/mkdir.c
@@ -84,7 +84,7 @@
 
 	strcpy (buf, *argv);
 	status=stat(buf, &statBuf);
-	if (status != -1 && status != ENOENT ) {
+	if (parentFlag == FALSE && status != -1 && status != ENOENT ) {
 	    fprintf(stderr, "%s: File exists\n", buf);
 	    exit( FALSE);
 	}
@@ -93,7 +93,7 @@
 	    createPath(buf, mode);
 	}
 	else { 
-	    if (mkdir (buf, mode) != 0) {
+	    if (mkdir (buf, mode) != 0 && parentFlag == FALSE) {
 		perror(buf);
 		exit( FALSE);
 	    }