]> 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, 2 Aug 2010 14:49:41 +0000 (16:49 +0200)
bacula/autoconf/configure.in
bacula/src/qt-console/bat.pro.in

index a5b9a1449388dcf7ed3ae9750298c9bb6926f991..f5376a94d8f10c20b4d6727ad6dbf03292fd4ccb 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 {