From dc0256720531f36502afa1f79cbdea3f7b606c70 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 5 Oct 2007 19:55:00 +0200 Subject: Fixed Bug #27789 "Wrong permissions of sql/share/language directories" extra/comp_err.c: Override my_mkdir() umask setting. The default is 0700 which perfectly makes sense for the server but leads to Bug #27789 when applied to comp_err generated directories in the souce tree. Generated directories and the files within won't be accessible to other users, sometimes including root if on a non-local filesystem, making "sudo make install" fail. --- extra/comp_err.c | 1 + 1 file changed, 1 insertion(+) (limited to 'extra') diff --git a/extra/comp_err.c b/extra/comp_err.c index 7cc4a0aa43f..79f591e45fb 100644 --- a/extra/comp_err.c +++ b/extra/comp_err.c @@ -167,6 +167,7 @@ int main(int argc, char *argv[]) DBUG_ENTER("main"); charsets_dir= DEFAULT_CHARSET_DIR; + my_umask_dir= 0777; if (get_options(&argc, &argv)) DBUG_RETURN(1); if (!(row_count= parse_input_file(TXTFILE, &error_head, &lang_head))) -- cgit v1.2.1