version 1.34, 2008/12/02 09:01:24
|
version 1.35, 2009/01/22 09:02:19
|
|
|
_configFile, | _configFile, |
(S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH))) // set 0644 | (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH))) // set 0644 |
{ | { |
throw CannotOpenFile(_configFile); |
throw CannotChangeFilePerm(_configFile); |
} | } |
} | } |
#endif | #endif |
|
|
if (!FileSystem::changeFilePermissions(_configFile, | if (!FileSystem::changeFilePermissions(_configFile, |
(S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH))) // set 0644 | (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH))) // set 0644 |
{ | { |
throw CannotOpenFile(_configFile); |
throw CannotChangeFilePerm(_configFile); |
} | } |
# endif | # endif |
#endif /* PEGASUS_ENABLE_PRIVILEGE_SEPARATION */ | #endif /* PEGASUS_ENABLE_PRIVILEGE_SEPARATION */ |