From 26222ee09c5af788b869fe21cf8f29cbe19feca3 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 22 Mar 2010 16:30:19 +0100 Subject: [PATCH] Fix #1532 about permission on binaries --- bacula/autoconf/configure.in | 4 ++-- bacula/src/qt-console/bat.pro.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index a5b9a14493..f5376a94d8 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -1699,9 +1699,9 @@ AC_SUBST(fd_group) dnl dnl allow setting default executable permissions dnl -SBINPERM=0754 +SBINPERM=0750 AC_ARG_WITH(sbin-perm, - AC_HELP_STRING([--with-sbin-perm=MODE], [specify permissions for sbin binaries @<:@default=0754@:>@]), + AC_HELP_STRING([--with-sbin-perm=MODE], [specify permissions for sbin binaries @<:@default=0750@:>@]), [ if test "x$withval" != "x" ; then SBINPERM=$withval diff --git a/bacula/src/qt-console/bat.pro.in b/bacula/src/qt-console/bat.pro.in index cd6359765e..b22b3f15b2 100644 --- a/bacula/src/qt-console/bat.pro.in +++ b/bacula/src/qt-console/bat.pro.in @@ -24,7 +24,7 @@ LIBS += -L../lib -lbaccfg -lbac @OPENSSL_LIBS@ LIBTOOL_LINK = @QMAKE_LIBTOOL@ --silent --tag=CXX --mode=link LIBTOOL_INSTALL = @QMAKE_LIBTOOL@ --silent --mode=install QMAKE_LINK = $${LIBTOOL_LINK} $(CXX) -QMAKE_INSTALL_PROGRAM = $${LIBTOOL_INSTALL} install -m 0754 -p +QMAKE_INSTALL_PROGRAM = $${LIBTOOL_INSTALL} install -m @SBINPERM@ -p QMAKE_CLEAN += .libs/* bat qwt { -- 2.39.5