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

boli
15.54.2006 ef1631c00cf0376998a026f97ad5c141e4b1d03c
refs
author boli <boli@localhost>
Friday, September 15, 2006 18:54 +0200
committer boli <boli@localhost>
Friday, September 15, 2006 18:54 +0200
commitef1631c00cf0376998a026f97ad5c141e4b1d03c
tree 146e5d898f09b2c233328c7c80dab9d64e5bae62 tree | zip | gz
parent c9cb0e89dadb2872d6d76e657ea8a76ce105bc14 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
opendj-sdk/opends/resource/config/config.ldif 1 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/schema/02-config.ldif 6 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/BackendImpl.java 50 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/Config.java 62 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/config/ConfigConstants.java 9 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/messages/ConfigMessages.java 40 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/messages/JebMessages.java 9 ●●●●● diff | view | raw | blame | history