freeside/FS/bin freeside-daily,1.14,1.15
ivan
ivan at pouncequick.420.am
Tue Nov 23 17:30:21 PST 2004
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory pouncequick:/tmp/cvs-serv21438
Modified Files:
freeside-daily
Log Message:
fix perms on automated backups
Index: freeside-daily
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-daily,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- freeside-daily 30 Jun 2004 10:02:45 -0000 1.14
+++ freeside-daily 24 Nov 2004 01:30:19 -0000 1.15
@@ -81,9 +81,11 @@
output => "/var/tmp/$database.gpg",
recipient => $conf->config('dump-pgpid'),
);
+ chmod 0600, '/var/tmp/$database.gpg';
scp("/var/tmp/$database.gpg", $dest);
unlink "/var/tmp/$database.gpg" or die $!;
} else {
+ chmod 0600, '/var/tmp/$database.sql';
scp("/var/tmp/$database.sql", $dest);
}
unlink "/var/tmp/$database.sql" or die $!;
More information about the freeside-commits
mailing list