XmlContainerConfig::setMode |
![]() ![]() |
#include <DbXml.hpp>void XmlContainerConfig::setMode(int mode)
int XmlContainerConfig::getMode() const
Sets the mode for the files created for the container, ignored on Windows or if the container already exists.
ParametersOn UNIX systems or in IEEE/ANSI Std 1003.1 (POSIX) environments, files created by are created with mode mode (as described in chmod(2)) and modified by the process' umask value at the time of creation (see umask(2)). Created files are owned by the process owner; the group ownership of created files is based on the system and directory defaults, and is not further specified by Berkeley DB. System shared memory segments created by are created with mode mode, unmodified by the process' umask value. If mode is 0, will use a default mode of readable and writable by both owner and group.
![]() ![]() |
Copyright (c) 1996-2009 Oracle. All rights reserved.