]> git.donarmstrong.com Git - cran2deb.git/commitdiff
fix umask to 002
authorblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 13 Sep 2008 13:28:29 +0000 (13:28 +0000)
committerblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 13 Sep 2008 13:28:29 +0000 (13:28 +0000)
git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@138 edb9625f-4e0d-4859-8d74-9fd3b1da38cb

pkg/trunk/R/build.R
pkg/trunk/exec/repopulate
pkg/trunk/exec/update

index 9fcc8d74cd058ccd8e64ff3ab410f5b3e3499a1e..4ca1923830206a589b2e360a6cc3e11e35f3b8eb 100644 (file)
@@ -36,7 +36,7 @@ build <- function(name,extra_deps,force=F) {
         file.remove(Sys.glob(file.path(pbuilder_results,'*.upload')))
 
         # make mini-dinstall generate the skeleton of the archive
-        ret = log_system('umask 022;mini-dinstall --batch -c',dinstall_config)
+        ret = log_system('umask 002;mini-dinstall --batch -c',dinstall_config)
         if (ret != 0) {
             fail('failed to create archive')
         }
@@ -52,7 +52,7 @@ build <- function(name,extra_deps,force=F) {
             srcdep = pkgname_as_debian(dep,binary=F)
 
             notice('uploading',srcdep)
-            ret = log_system('umask 022;dput','-c',shQuote(dput_config),'local'
+            ret = log_system('umask 002;dput','-c',shQuote(dput_config),'local'
                         ,changesfile(srcdep))
             if (ret != 0) {
                 fail('upload of dependency failed! maybe you did not build it first?')
@@ -61,7 +61,7 @@ build <- function(name,extra_deps,force=F) {
         build_debian(pkg)
 
         # upload the package
-        ret = log_system('umask 022;dput','-c',shQuote(dput_config),'local'
+        ret = log_system('umask 002;dput','-c',shQuote(dput_config),'local'
                     ,changesfile(pkg$srcname,pkg$debversion))
         if (ret != 0) {
             fail('upload failed!')
index ea1080045ba7f9924a9072350123c698901a2bb0..ab3ea6039fcaf5720569a8f962d808dc48dac14a 100755 (executable)
@@ -3,7 +3,7 @@
 ## DOC:     repopulate the cran2deb database and configurations from a new cran2deb release
 ## DOC:
 
-umask 022
+umask 002
 root=$1
 shift
 for x in $(find /etc/cran2deb/ -type f -name '*.in'); do
index bcd74a7401178199a46d9ca515154591287da357..7bcc78f0ecf4bab77fca4f6a87bf6d50570a6af4 100755 (executable)
@@ -5,7 +5,7 @@
 ## DOC:     force a full update of the cran2deb cache and database
 ## DOC:
 
-umask 022
+umask 002
 root=$1
 shift
 mkdir -p /var/cache/cran2deb/results || exit 1