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.0.2~152 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f22574321490cc3fea1f404adae21acc923623d2;p=bacula%2Fbacula Fix #1532 about permission on binaries --- diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 54813d42ee..cba5c7344e 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 {