[padb] r342 committed - When creating the secret file chmod the filename not the file handle a...
padb at googlecode.com
padb at googlecode.com
Tue Dec 1 14:38:05 GMT 2009
Revision: 342
Author: apittman
Date: Tue Dec 1 06:37:02 2009
Log: When creating the secret file chmod the filename not the file handle
as this
is more widely supported and doesn't result in errors on ia64 or Solaris.
Previously padb could exit with errors like the following:
[thipa at vb0 openmpi]$ padb --create-secret-file
Failed to chmod secret file: No such file or directory
http://code.google.com/p/padb/source/detail?r=342
Modified:
/trunk/src/padb
=======================================
--- /trunk/src/padb Thu Nov 26 02:30:48 2009
+++ /trunk/src/padb Tue Dec 1 06:37:02 2009
@@ -4726,7 +4726,7 @@
print "Failed to create secret file: $!\n";
return;
}
- if ( chmod( 0600, $FD ) != 1 ) {
+ if ( chmod( 0600, $filename ) != 1 ) {
print "Failed to chmod secret file: $!\n";
return;
}
More information about the padb-devel
mailing list