mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

boli
15.54.2006 da7c2116996d26d22b3eca9f20cb497791dbb857
refs
author boli <boli@localhost>
Friday, September 15, 2006 18:54 +0200
committer boli <boli@localhost>
Friday, September 15, 2006 18:54 +0200
commitda7c2116996d26d22b3eca9f20cb497791dbb857
tree 3c06637fdb4b3135c9692738ab86e06f1294cd64 tree | zip | gz
parent 6b1e5bb8307072f97456360ef7d07409cbabd557 view | diff
This uses the new FilePermission framework to set permissions on the
directory holding the database files. The new config attribute
ds-cfg-backend-mode is optional and by default has a value of 700. The
permissions are set on backend initialization as well as on the fly via
LDAP. The server will make sure the file permissions will allow owner
access before setting. Any exceptions encountered while setting the
attribute will result in non fatal errors which are logged. However, any
configuration exceptions will keep the backend from starting.

Fix for issue 50
7 files modified
177 ■■■■■ changed files
opends/resource/config/config.ldif 1 ●●●● diff | view | raw | blame | history
opends/resource/schema/02-config.ldif 6 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/BackendImpl.java 50 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/Config.java 62 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/config/ConfigConstants.java 9 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/ConfigMessages.java 40 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/JebMessages.java 9 ●●●●● diff | view | raw | blame | history