Index: src/conf.c =================================================================== --- src/conf.c (revision 2242) +++ src/conf.c (revision 2243) @@ -940,7 +940,7 @@ /* create parents if they do not exist */ last = next = path; do { - next = strchr(next, '/'); + next = strchr(last, '/'); if (next != NULL) *next = '\0';