From: Kevin M. Rosenberg Date: Tue, 28 Sep 2004 06:20:21 +0000 (+0000) Subject: r10042: add umask to upload scripts X-Git-Tag: v2.5.5~25 X-Git-Url: http://git.kpe.io/?p=lml.git;a=commitdiff_plain;h=63f8764fa04174678971f23f5e9ec7f35074490f r10042: add umask to upload scripts --- diff --git a/2/debian/upload.sh b/2/debian/upload.sh index 025cb99..f0b6066 100755 --- a/2/debian/upload.sh +++ b/2/debian/upload.sh @@ -1,3 +1,3 @@ #!/bin/bash -e -dup lml2 -Uftp.med-info.com -D/home/ftp/lml2 -C"(cd /opt/apache/htdocs/lml2; make install)" -su $* +dup lml2 -Uftp.med-info.com -D/home/ftp/lml2 -C"(umask 022; cd /opt/apache/htdocs/lml2; make install)" -su $* diff --git a/debian/upload.sh b/debian/upload.sh index f030592..dca236e 100755 --- a/debian/upload.sh +++ b/debian/upload.sh @@ -1,4 +1,4 @@ #!/bin/bash -e -dup lml -Uftp.med-info.com -D/home/ftp/lml -C"(cd /opt/apache/htdocs/lml; make install)" -su $* +dup lml -Uftp.med-info.com -D/home/ftp/lml -C"(umask 022; cd /opt/apache/htdocs/lml; make install)" -su $*