From: Michael R Sweet Date: Sat, 17 Jun 2017 00:55:20 +0000 (-0400) Subject: One other spot (RPM's objcopy needs files to be writable...) X-Git-Tag: v2.2.4~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a6962171c2bb85e790df265ac91544b1a8b6c4e;p=thirdparty%2Fcups.git One other spot (RPM's objcopy needs files to be writable...) --- diff --git a/config-scripts/cups-defaults.m4 b/config-scripts/cups-defaults.m4 index 0175111985..9de4efc514 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 25235abffe..ee2ad46f45 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