[gnome-continuous] ostbuild: Reset umask to 002 early on



commit 71ba1a06bf5645a149efc580eadd3a65edd402ab
Author: Colin Walters <walters verbum org>
Date:   Tue Apr 1 13:41:28 2014 -0400

    ostbuild: Reset umask to 002 early on
    
    We really don't want the user's mask affecting our build code.  The
    correct fix here is to be more careful about permissions inside the
    build system, but it's quite hard to do as we have to take into
    account every mkdir() invocation.

 src/ostbuild.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/ostbuild.in b/src/ostbuild.in
index 258d9d0..1686241 100755
--- a/src/ostbuild.in
+++ b/src/ostbuild.in
@@ -16,6 +16,8 @@
 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
+umask 002
+
 jsdir= pkgdatadir@/js
 
 export GI_TYPELIB_PATH="@pkglibdir@/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]