]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add some more writable directories.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 24 Jun 2014 15:56:25 +0000 (15:56 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 24 Jun 2014 15:56:25 +0000 (15:56 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11941 a1ca3aef-8c08-0410-bb20-df032aa958be

scheduler/process.c

index 57448c57ffb324b53f61f3bb80ad370733771705..b25ac5674ea8ef677960701c20ff681b16280676 100644 (file)
@@ -172,10 +172,16 @@ cupsdCreateProfile(int job_id,            /* I - Job ID or 0 for none */
                 " #\"^%s/\""           /* CacheDir/... */
                 " #\"^/private/var/db/\""
                 " #\"^/private/var/folders/\""
+                 " #\"^/private/var/lib/\""
+                 " #\"^/private/var/log/\""
+                 " #\"^/private/var/mysql/\""
                  " #\"^/private/var/run/\""
+                 " #\"^/private/var/spool/\""
                 " #\"^/Library/Application Support/\""
                 " #\"^/Library/Caches/\""
+                " #\"^/Library/Logs/\""
                 " #\"^/Library/Preferences/\""
+                " #\"^/Library/WebServer/\""
                 " #\"^/Users/Shared/\""
                 "))\n",
                 temp, temp, cache, cache);
@@ -195,8 +201,10 @@ cupsdCreateProfile(int job_id,             /* I - Job ID or 0 for none */
                  " #\"^/private/var$\""
                  " #\"^/private/var/db$\""
                  " #\"^/private/var/folders$\""
+                 " #\"^/private/var/lib$\""
+                 " #\"^/private/var/log$\""
+                 " #\"^/private/var/mysql$\""
                  " #\"^/private/var/run$\""
-                 " #\"^/private/var/run/\""
                  " #\"^/private/var/spool$\""
                  " #\"^/usr/bin$\""    /* /usr/bin */
                  " #\"^/usr/bin/\""    /* /usr/bin/... */
@@ -215,10 +223,12 @@ cupsdCreateProfile(int job_id,            /* I - Job ID or 0 for none */
                 " #\"^/Library/Frameworks/\""
                 " #\"^/Library/Keychains$\""
                 " #\"^/Library/Keychains/\""
+                " #\"^/Library/Logs$\""
                 " #\"^/Library/Printers$\""
                 " #\"^/Library/Printers/\""
                 " #\"^/Library/Security$\""
                 " #\"^/Library/Security/\""
+                " #\"^/Library/WebServer$\""
                 " #\"^%s/Library$\""   /* RequestRoot/Library */
                 " #\"^%s/Library/\""   /* RequestRoot/Library/... */
                 " #\"^%s$\""           /* ServerBin */