{
return confMode;
}
-/*//-----------------------------------------------------------------------------
+//-----------------------------------------------------------------------------
mode_t FILES_STORE_SETTINGS::GetConfModeDir() const
{
mode_t mode = confMode;
-if (statMode & S_IRUSR) mode |= S_IXUSR;
-if (statMode & S_IRGRP) mode |= S_IXGRP;
-if (statMode & S_IROTH) mode |= S_IXOTH;
+if (confMode & S_IRUSR) mode |= S_IXUSR;
+if (confMode & S_IRGRP) mode |= S_IXGRP;
+if (confMode & S_IROTH) mode |= S_IXOTH;
return mode;
-}*/
+}
//-----------------------------------------------------------------------------
uid_t FILES_STORE_SETTINGS::GetConfUID() const
{
}
}
-chmod(dn.c_str(), storeSettings.GetConfMode() | S_IXUSR);
+chmod(dn.c_str(), storeSettings.GetConfModeDir());
gettimeofday(&tv, NULL);
gid_t GetStatGID() const;
mode_t GetConfMode() const;
- //mode_t GetConfModeDir() const;
+ mode_t GetConfModeDir() const;
uid_t GetConfUID() const;
gid_t GetConfGID() const;