]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Tweak SMB rule.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 18 Feb 2014 19:50:46 +0000 (19:50 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 18 Feb 2014 19:50:46 +0000 (19:50 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11605 a1ca3aef-8c08-0410-bb20-df032aa958be

scheduler/process.c

index 29c7d27cc84c7c5a7348c60440954014eeaf1059..ff13a328d5b0db425a8edf1e38a3a621bc915685 100644 (file)
@@ -297,7 +297,7 @@ cupsdCreateProfile(int job_id,              /* I - Job ID or 0 for none */
     /* Also allow access to Bluetooth, USB, and SMB */
     cupsFilePuts(fp, "(allow iokit-open)\n");
     cupsFilePuts(fp, "(allow file-write* file-read-data file-read-metadata\n"
-                     "       (literal \"/dev/nsmb0\"))\n");
+                     "       (regex #\"^/dev/nsmb[0-9]+$\"))\n");
   }
   else
   {