From e37fd784eefe513eda7ab946dcf92b8e8fe1b8a6 Mon Sep 17 00:00:00 2001 From: Nils Schwabe Date: Mon, 23 Jun 2014 15:12:57 +0200 Subject: Fix some issues with the ftp connection and the ftp user management Remove some not needed imports from various files --- src/main/java/org/openslx/imagemaster/ftp/MasterFtpServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org/openslx/imagemaster/ftp/MasterFtpServer.java') diff --git a/src/main/java/org/openslx/imagemaster/ftp/MasterFtpServer.java b/src/main/java/org/openslx/imagemaster/ftp/MasterFtpServer.java index dff45b5..c24b318 100644 --- a/src/main/java/org/openslx/imagemaster/ftp/MasterFtpServer.java +++ b/src/main/java/org/openslx/imagemaster/ftp/MasterFtpServer.java @@ -211,7 +211,7 @@ public class MasterFtpServer implements Runnable authorities.add( new WritePermission() ); } else if (mode == Mode.DOWNLOADING) { // the downloading satellite may access the whole dir, but this is restricted in MasterFtplet - dir = Globals.getPropertyString( Globals.PropString.FTPBASEDIR ); + dir = Globals.getPropertyString( Globals.PropString.IMAGEDIR ); // downloading satellite is only allowed to read file = fileName; } -- cgit v1.2.3-55-g7522