]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
One other spot (RPM's objcopy needs files to be writable...)
authorMichael R Sweet <michael.r.sweet@gmail.com>
Sat, 17 Jun 2017 00:55:20 +0000 (20:55 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Sat, 17 Jun 2017 00:55:20 +0000 (20:55 -0400)
config-scripts/cups-defaults.m4
configure

index 01751119857c1036176ea240d6d21bb7cf3902e2..9de4efc5149e609348f07ea5582aa582e9aaf4d7 100644 (file)
@@ -61,7 +61,11 @@ AC_DEFINE_UNQUOTED(CUPS_DEFAULT_CONFIG_FILE_PERM, 0$CUPS_CONFIG_FILE_PERM)
 dnl Default permissions for cupsd
 AC_ARG_WITH(cupsd_file_perm, [  --with-cupsd-file-perm  set default cupsd permissions, default=0500],
        CUPS_CUPSD_FILE_PERM="$withval",
-       CUPS_CUPSD_FILE_PERM="500")
+       if test "x$host_os_name" = xlinux; then
+               CUPS_CUPSD_FILE_PERM="700"
+       else
+               CUPS_CUPSD_FILE_PERM="500"
+       fi)
 AC_SUBST(CUPS_CUPSD_FILE_PERM)
 
 dnl Default LogFilePerm
index 25235abffed0d2e9cfb091bc843591197af59561..ee2ad46f45a2f4f453b0cbe981b4c3241a1a32be 100755 (executable)
--- a/configure
+++ b/configure
@@ -9552,7 +9552,11 @@ _ACEOF
 if test "${with_cupsd_file_perm+set}" = set; then :
   withval=$with_cupsd_file_perm; CUPS_CUPSD_FILE_PERM="$withval"
 else
-  CUPS_CUPSD_FILE_PERM="500"
+  if test "x$host_os_name" = xlinux; then
+               CUPS_CUPSD_FILE_PERM="700"
+       else
+               CUPS_CUPSD_FILE_PERM="500"
+       fi
 fi