From 3a6962171c2bb85e790df265ac91544b1a8b6c4e Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 16 Jun 2017 20:55:20 -0400 Subject: [PATCH] One other spot (RPM's objcopy needs files to be writable...) --- config-scripts/cups-defaults.m4 | 6 +++++- configure | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/config-scripts/cups-defaults.m4 b/config-scripts/cups-defaults.m4 index 017511198..9de4efc51 100644 --- a/config-scripts/cups-defaults.m4 +++ b/config-scripts/cups-defaults.m4 @@ -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 diff --git a/configure b/configure index 25235abff..ee2ad46f4 100755 --- 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 -- 2.39.2