]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix #1532 about permission on binaries
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 22 Mar 2010 15:30:19 +0000 (16:30 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 22 Mar 2010 15:31:58 +0000 (16:31 +0100)
bacula/autoconf/configure.in
bacula/src/qt-console/bat.pro.in

index 54813d42ee3062b4e2638b968a184dbab933773d..cba5c7344e6abe9b50b4fc92d02964a5976bf21b 100644 (file)
@@ -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
index cd6359765e5765cbf596f1c57216f3b006ed1e01..b22b3f15b219f390a411df98e85c0174eda5e91d 100644 (file)
@@ -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 {