From b1cabb30d0ed507590edce9d72d398da63a8dc09 Mon Sep 17 00:00:00 2001 From: mkochano Date: Thu, 24 May 2001 12:50:34 +0000 Subject: [PATCH] - chmod 644 created files. Solves problem on systems with umask more restrictive than 022. Changed files: XFree86-mkfontdir-chmod_644.patch -> 1.1 --- XFree86-mkfontdir-chmod_644.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 XFree86-mkfontdir-chmod_644.patch diff --git a/XFree86-mkfontdir-chmod_644.patch b/XFree86-mkfontdir-chmod_644.patch new file mode 100644 index 0000000..a2b2e29 --- /dev/null +++ b/XFree86-mkfontdir-chmod_644.patch @@ -0,0 +1,19 @@ +diff -urN XFree86-4.0.3.orig/xc/programs/mkfontdir/mkfontdir.c XFree86-4.0.3/xc/programs/mkfontdir/mkfontdir.c +--- XFree86-4.0.3.orig/xc/programs/mkfontdir/mkfontdir.c Wed Nov 29 17:45:52 2000 ++++ XFree86-4.0.3/xc/programs/mkfontdir/mkfontdir.c Wed May 23 20:00:31 2001 +@@ -210,6 +210,7 @@ + fprintf (file, "%s %s\n", entry->u.bitmap.fileName, entry->name.name); + } + fclose (file); ++ chmod (full_name, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); + + /* Write out encodings directory */ + +@@ -232,6 +233,7 @@ + fprintf(file, "%s %s%s\n", + encoding->name, prefix, encoding->fileName); + fclose(file); ++ chmod (full_name, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); + + return TRUE; + } -- 2.44.0