]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/cups-deviced.c
Allow backends to have group read + execute permissions and still run as root
[thirdparty/cups.git] / scheduler / cups-deviced.c
index 2127937f2bd7acc6c692169d19e6d4915a2048a4..73e93da0b8576c3cf6210ad4e60bb9a49bb616c6 100644 (file)
@@ -270,8 +270,7 @@ main(int  argc,                             /* I - Number of command-line args */
     * all others run as the unprivileged user...
     */
 
-    start_backend(dent->filename,
-                  !(dent->fileinfo.st_mode & (S_IRWXG | S_IRWXO)));
+    start_backend(dent->filename, !(dent->fileinfo.st_mode & (S_IWGRP | S_IRWXO)));
   }
 
   cupsDirClose(dir);