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
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