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

neil_a_wilson
30.30.2006 c628ea8889a8c1d010994c6528a09de8c0e5afb5
refs
author neil_a_wilson <neil_a_wilson@localhost>
Wednesday, August 30, 2006 22:30 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Wednesday, August 30, 2006 22:30 +0200
commitc628ea8889a8c1d010994c6528a09de8c0e5afb5
tree 8e7014bd2044021bcc3feff5811d684126d0ab51 tree | zip | gz
parent daf032796212b8de77a39d29a1a54ed1e7804af6 view | diff
Provide a mechanism for managing file permissions.  On UNIX-based systems where
the use of exec is allowed, it will use the underlying chmod utility to set
file permissions. On other systems, if Java 6 is available then the new
methods in the java.io.File class will be used. If neither option is
available, then it will not be possible to manage file permissions.

This update also includes a mechanism that can be used to allow administrators
to preven the server from using exec to run commands on the underlying system.
Note that this is more a configuration option than an actual enforcement,
although it could be possible to configure the security manager to explicitly
forbid this.

OpenDS Issue Number: 601
1 files added
3 files modified
1193 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/messages/UtilityMessages.java 101 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/FilePermission.java 1043 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java 12 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/StaticUtils.java 37 ●●●●● diff | view | raw | blame | history