(file) Return to ProviderDirPropertyOwner.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Config

Diff for /pegasus/src/Pegasus/Config/ProviderDirPropertyOwner.cpp between version 1.20 and 1.21

version 1.20, 2008/10/17 11:07:37 version 1.21, 2008/11/13 18:29:48
Line 110 
Line 110 
         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 );


Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2