At line 1 added 2 lines |
Requires __CrushFTP__ version __9.3.1__+ |
|
At line 5 added 2 lines |
In this limited mode, the __TempAccounts__ and __Preview__ folders need to be moved from the default CrushFTP folder location to a location within the user data root. Then correct the path settings on Preferences->Preview page "Previews Path", respectively on Server Admin->Shares page, "General Settings" menu "Location of temp account file system" field. Otherwise image/document preview thumbnails or shared files can not be retrieved. If also the __"server.file.strict"__ flag is set to __"true"__, the CrushFTP service won't even start up for it's in violation of it's own access rules.\\ |
|
At line 4 changed one line |
The server install could be: C:\CrushFTP8\ \\ |
The server install could be: /C:/CrushFTP9/ , in __UNIX-style__ path notation, regardless of operating system family \\ |
At line 6 changed one line |
The user data storage could be: D:\UserData\ \\ |
|
The user data storage could be: /D:/UserData/ , same UNIX-style path notation \\ |
At line 10 changed 2 lines |
Windows:\\ |
Edit the wrapper.conf file in the service file and append this to it (note the double backslashes due to config file encoding):\\ |
__file.warn__ = log an error about the violation, mainly useful for debugging why something got blocked (default=true)\\ |
__file.log__ = if a separate audit log should be kept with all the error info (default=false)\\ |
__file.strict__ = if its true, the action is blocked. Otherwise its allowed and just the error info is logged (default=false)\\ |
__security.exec__ = controls if external processes can be launched from the Preview config or not (default=true)\\ |
!Windows: |
Edit the CrushFTPServer.ini file in the "service" subdirectory of the CrushFTP installation folder and append this to it (note the double backslashes due to config file encoding):\\ |
At line 13 changed 5 lines |
wrapper.java.additional.2=-Dcrushftp.server.root=C:\\CrushFTP8\\ |
wrapper.java.additional.3=-Dcrushftp.user.root=D:\\UserData\\ |
wrapper.java.additional.4=-Dcrushftp.server.file.warn=true |
wrapper.java.additional.5=-Dcrushftp.server.file.log=false |
wrapper.java.additional.6=-Dcrushftp.server.file.strict=true |
vmarg.2=-Dcrushftp.server.root=C:/CrushFTP9/ |
vmarg.3=-Dcrushftp.user.root=C:/ftproot/ |
vmarg.4=-Dcrushftp.server.file.warn=true |
vmarg.5=-Dcrushftp.server.file.log=false |
vmarg.6=-Dcrushftp.security.exec=true |
vmarg.7=-Dcrushftp.server.file.strict=true |
At line 29 added 7 lines |
!OSX / Linux / Other |
Edit the startup launcher (OSX=CrushFTP.command file in the CrushFTP folder, CrushFTP9.app/Contents/MacOS/CrushFTP.command) (Linux=/var/opt/CrushFTP9/crushftp_init.sh)\\ |
\\ |
Find the "-Xmx" which is setting the memory arguments and configure these arguments before it: |
{{{ |
-Dcrushftp.server.root=/var/opt/CrushFTP9/ -Dcrushftp.user.root=/home/UserData/ -Dcrushftp.server.file.warn=true -Dcrushftp.server.file.log=false -Dcrushftp.server.file.strict=true -Dcrushftp.security.exec=true -Xmx......... |
}}} |
At line 20 changed 3 lines |
file.warn = log an error about the violation, mainly useful for debugging why something got blocked\\ |
file.log = if a separate audit log should eb kept with all the error info.\\ |
file.strict = if its true, the action is blocked. Otherwise its allowed and just the error info is logged.\\ |
''In all cases, __matching case__ is important even if the OS filesystem is not case sensitive.'' |