5b29618
diff -up cups-2.0.0/cups/util.c.str4500 cups-2.0.0/cups/util.c
5b29618
--- cups-2.0.0/cups/util.c.str4500	2014-10-15 12:59:27.105942488 +0100
5b29618
+++ cups-2.0.0/cups/util.c	2014-10-15 13:03:38.618187112 +0100
5b29618
@@ -846,10 +846,10 @@ cupsGetPPD3(http_t     *http,		/* I  - H
5b29618
 
5b29618
     snprintf(ppdname, sizeof(ppdname), "%s/ppd/%s.ppd", cg->cups_serverroot,
5b29618
              name);
5b29618
-    if (!stat(ppdname, &ppdinfo))
5b29618
+    if (!stat(ppdname, &ppdinfo) && !access(ppdname, R_OK))
5b29618
     {
5b29618
      /*
5b29618
-      * OK, the file exists, use it!
5b29618
+      * OK, the file exists and is readable, use it!
5b29618
       */
5b29618
 
5b29618
       if (buffer[0])