Index: trunk/DataStore/scripts/dsget
===================================================================
--- trunk/DataStore/scripts/dsget	(revision 24374)
+++ trunk/DataStore/scripts/dsget	(revision 25280)
@@ -214,4 +214,7 @@
     $tmp->flush or die "can't flush filehandle: $!";
     $tmp->sync or die "can't sync filehandle: $!";
+    # set read and write permissions based on umask (ignore other bits)
+    my $umask = umask;
+    chmod 0666 ^ $umask, $tmpfilename or die "failed to chmod $tmpfilename";
     rename $tmpfilename, $filename
         or die "renaming $tmpfilename to $filename failed: $!";
