# HG changeset patch # User Sergey Budnevitch # Date 1319546716 0 # Node ID 356bcdeb008fa887c2d4c04477944847cc60d894 # Parent 078c568068c485c6d7a17208012ef5e68e99353e * Fixed incorrect file permissions on file creation with an external shell wrapper. * Reverted r140. diff -r 078c568068c4 -r 356bcdeb008f GNUmakefile --- a/GNUmakefile Tue Oct 25 12:27:12 2011 +0000 +++ b/GNUmakefile Tue Oct 25 12:45:16 2011 +0000 @@ -3,8 +3,7 @@ TEXT = text ZIP = gzip NGINX_ORG = /data/www/nginx.org -UMASK = 002 -SHELL = umask $(UMASK) && exec /bin/sh +SHELL = ./umasked.sh CP = /data/sites/java/xsls/\*:$(HOME)/java/xsls/\* RSYNC = rsync -v -rpc --exclude=.svn diff -r 078c568068c4 -r 356bcdeb008f umasked.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/umasked.sh Tue Oct 25 12:45:16 2011 +0000 @@ -0,0 +1,5 @@ +#!/bin/sh + +umask 002 + +exec /bin/sh "$@"