David Turner <dturner@xxxxxxxxxxxxxxxx> writes: > So just add this after every mkdir? > > if (shared_repository) > adjust_shared_perm(db_path); The function itself checks shared_repository configuration, so the caller does not have to bother. You should rather treat it as a declaration and a documentation that says "this path in $GIT_DIR should be writable". You should check its exit value for errors, though. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html