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

neil_a_wilson
30.30.2006 032cabff13965a7b6eef4aa269ff9b4d25faef6f
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
commit032cabff13965a7b6eef4aa269ff9b4d25faef6f
tree bf29525a9f72bd532b643136b46054914e8b0d7c tree | zip | gz
parent 7ac81856cd73874cf45488c7d85941c878ac9080 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
opends/src/server/org/opends/server/messages/UtilityMessages.java 101 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/FilePermission.java 1043 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/ServerConstants.java 12 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/StaticUtils.java 37 ●●●●● diff | view | raw | blame | history