From: msweet Date: Tue, 24 Jun 2014 15:56:25 +0000 (+0000) Subject: Add some more writable directories. X-Git-Tag: v2.2b1~598 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99328a65fc234ba3478252b53d31fac720ac5da9;p=thirdparty%2Fcups.git Add some more writable directories. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11941 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/scheduler/process.c b/scheduler/process.c index 57448c57ff..b25ac5674e 100644 --- a/scheduler/process.c +++ b/scheduler/process.c @@ -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 */