version 1.18, 2007/08/03 00:50:16
|
version 1.19, 2008/08/12 17:35:09
|
|
|
path = temp.subString(0,pos); | path = temp.subString(0,pos); |
if (!FileSystem::isDirectory(path)) | if (!FileSystem::isDirectory(path)) |
{ | { |
Logger::put_l(Logger::ERROR_LOG,System::CIMSERVER, |
Logger::put( |
Logger::SEVERE, |
Logger::ERROR_LOG,System::CIMSERVER, Logger::SEVERE, |
"$0 is not a directory!", | "$0 is not a directory!", |
path); | path); |
return false; | return false; |
} | } |
if (!FileSystem::canRead(path)) | if (!FileSystem::canRead(path)) |
{ | { |
Logger::put_l(Logger::ERROR_LOG,System::CIMSERVER, |
Logger::put( |
Logger::SEVERE, |
Logger::ERROR_LOG,System::CIMSERVER, Logger::SEVERE, |
"Cannot $0 is not readable!", | "Cannot $0 is not readable!", |
path); | path); |
return false; | return false; |
|
|
#ifndef PEGASUS_OS_ZOS | #ifndef PEGASUS_OS_ZOS |
if (FileSystem::canWrite(path)) | if (FileSystem::canWrite(path)) |
{ | { |
Logger::put_l(Logger::ERROR_LOG,System::CIMSERVER, |
Logger::put( |
Logger::WARNING, |
Logger::ERROR_LOG,System::CIMSERVER, Logger::WARNING, |
"$0 is writeable! Possible security risk.", | "$0 is writeable! Possible security risk.", |
path); | path); |
} | } |