version 1.20, 2008/10/17 11:07:37
|
version 1.21, 2008/11/13 18:29:48
|
|
|
path = temp.subString(0,pos); | path = temp.subString(0,pos); |
if (!FileSystem::isDirectory(path)) | if (!FileSystem::isDirectory(path)) |
{ | { |
Logger::put( |
Logger::put_l( |
Logger::ERROR_LOG,System::CIMSERVER, Logger::SEVERE, | Logger::ERROR_LOG,System::CIMSERVER, Logger::SEVERE, |
"$0 is not a directory!", |
MessageLoaderParms( |
path); |
"Config.ProviderDirPropertyOwner.NOT_A_DIRECTORY", |
|
"providerDir configuration value $0 is not a directory.", |
|
path)); |
return false; | return false; |
} | } |
if (!FileSystem::canRead(path)) | if (!FileSystem::canRead(path)) |
{ | { |
Logger::put( |
Logger::put_l( |
Logger::ERROR_LOG,System::CIMSERVER, Logger::SEVERE, | Logger::ERROR_LOG,System::CIMSERVER, Logger::SEVERE, |
"Cannot $0 is not readable!", |
MessageLoaderParms( |
path); |
"Config.ProviderDirPropertyOwner.DIRECTORY_NOT_READABLE", |
|
"providerDir configuration directory $0 is not readable.", |
|
path)); |
return false; | return false; |
} | } |
#ifndef PEGASUS_OS_ZOS |
|
if (FileSystem::canWrite(path)) |
|
{ |
|
Logger::put( |
|
Logger::ERROR_LOG,System::CIMSERVER, Logger::WARNING, |
|
"$0 is writeable! Possible security risk.", |
|
path); |
|
} |
|
#endif |
|
temp.remove(0,pos+token); | temp.remove(0,pos+token); |
} | } |
while ( temp.size() > 0 ); | while ( temp.size() > 0 ); |