[padb] r343 committed - Backport r342 from the HEAD, allow creation of secret file on machines...
padb at googlecode.com
padb at googlecode.com
Tue Dec 1 14:42:08 GMT 2009
Revision: 343
Author: apittman
Date: Tue Dec 1 06:38:06 2009
Log: Backport r342 from the HEAD, allow creation of secret file on machines
which
don't support fchmod
http://code.google.com/p/padb/source/detail?r=343
Modified:
/branches/3.0/src/padb
=======================================
--- /branches/3.0/src/padb Thu Oct 8 04:25:23 2009
+++ /branches/3.0/src/padb Tue Dec 1 06:38:06 2009
@@ -4154,7 +4154,7 @@
printf("Failed to create secret file: $!\n");
return;
}
- if ( chmod( 0600, $FD ) != 1 ) {
+ if ( chmod( 0600, $filename ) != 1 ) {
printf("Failed to chmod secret file: $!\n");
return;
}
More information about the padb-devel
mailing list