From: Eric Bollengier Date: Mon, 22 Mar 2010 15:30:19 +0000 (+0100) Subject: Fix #1532 about permission on binaries X-Git-Tag: Release-5.2.1~1578 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=26222ee09c5af788b869fe21cf8f29cbe19feca3;p=bacula%2Fbacula Fix #1532 about permission on binaries --- 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 {