]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Allow writes to /Library/Caches.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 25 Jan 2008 00:48:54 +0000 (00:48 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 25 Jan 2008 00:48:54 +0000 (00:48 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@7256 7a7537e8-13f0-0310-91df-b6672ffda945

scheduler/process.c

index d9d6e15b3632ddc84a8b5dd524ab5277824d4af6..c7e0cef0df5ee872fc2d30b16c6fac25501b04a6 100644 (file)
@@ -106,7 +106,8 @@ cupsdCreateProfile(int job_id)              /* I - Job ID or 0 for none */
                 "#\"^/Library\" #\"^/System\" #\"^/Users\"))\n", root);
   cupsFilePrintf(fp,
                  "(allow file-write* file-read-data file-read-metadata\n"
-                 "  (regex #\"^%s$\" #\"^%s/\" #\"^%s$\" #\"^%s/\"))\n",
+                 "  (regex #\"^%s$\" #\"^%s/\" #\"^%s$\" #\"^%s/\" "
+                "#\"^/Library/Caches/\"))\n",
                 temp, temp, cache, cache);
   if (job_id)
     cupsFilePrintf(fp,