From: Kevin M. Rosenberg Date: Tue, 28 Sep 2004 06:20:21 +0000 (+0000) Subject: r10042: add umask to upload scripts X-Git-Tag: debian-2.1.3-2~3 X-Git-Url: http://git.kpe.io/?p=pubmed.git;a=commitdiff_plain;h=0a4986ae5939f0911095e74b4b1a73e3f363601a;hp=765f6d412238c7a9c977a778d37b1077e5099681 r10042: add umask to upload scripts --- diff --git a/debian/upload.sh b/debian/upload.sh index 3215288..c6c8b44 100755 --- a/debian/upload.sh +++ b/debian/upload.sh @@ -1,4 +1,4 @@ #!/bin/bash -e -dup pubmed -Uftp.med-info.com -D/home/ftp/pubmed -C"(cd /opt/apache/htdocs/pubmed; make install)" -su $* +dup pubmed -Uftp.med-info.com -D/home/ftp/pubmed -C"(umask 022; cd /opt/apache/htdocs/pubmed; make install)" -su $*