mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
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.
This commit is contained in:
@@ -167,6 +167,7 @@ int main(int argc, char *argv[])
|
|||||||
DBUG_ENTER("main");
|
DBUG_ENTER("main");
|
||||||
|
|
||||||
charsets_dir= DEFAULT_CHARSET_DIR;
|
charsets_dir= DEFAULT_CHARSET_DIR;
|
||||||
|
my_umask_dir= 0777;
|
||||||
if (get_options(&argc, &argv))
|
if (get_options(&argc, &argv))
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
if (!(row_count= parse_input_file(TXTFILE, &error_head, &lang_head)))
|
if (!(row_count= parse_input_file(TXTFILE, &error_head, &lang_head)))
|
||||||
|
Reference in New Issue
Block a user