You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2019/03/12 03:19:40 UTC

[james-project] 02/15: JAMES-2665 Default vault path was incompatible with file repositories

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit a9bc6625a5af1eff2b298d2198f1f0d015a4b98f
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Tue Mar 5 11:37:31 2019 +0700

    JAMES-2665 Default vault path was incompatible with file repositories
    
    Incriminated: the / prefix, trying to access the root of the file system
---
 .../java/org/apache/james/modules/vault/DeletedMessageVaultModule.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/container/guice/mailbox-plugin-deleted-messages-vault-guice/src/main/java/org/apache/james/modules/vault/DeletedMessageVaultModule.java b/server/container/guice/mailbox-plugin-deleted-messages-vault-guice/src/main/java/org/apache/james/modules/vault/DeletedMessageVaultModule.java
index dfdbd33..9c99fcd 100644
--- a/server/container/guice/mailbox-plugin-deleted-messages-vault-guice/src/main/java/org/apache/james/modules/vault/DeletedMessageVaultModule.java
+++ b/server/container/guice/mailbox-plugin-deleted-messages-vault-guice/src/main/java/org/apache/james/modules/vault/DeletedMessageVaultModule.java
@@ -36,7 +36,7 @@ import com.google.inject.Provides;
 
 public class DeletedMessageVaultModule extends AbstractModule {
     private static final Logger LOGGER = LoggerFactory.getLogger(DeletedMessageVaultModule.class);
-    private static final MailRepositoryPath DEFAULT_PATH = MailRepositoryPath.from("/var/deletedMessages/vault");
+    private static final MailRepositoryPath DEFAULT_PATH = MailRepositoryPath.from("var/deletedMessages/vault");
 
     @Override
     protected void configure() {


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org