I've a DUO with RAIDiator 4.1.4.
I've noticed that there is a problem with the script that is launched after a usb volume is plugged :
- Code: Select all
/frontview/bin/setup_usb_storage
The function SetupFTPShare() is always called (even if ftp access is disabled in frontview for this share).
This function create a mount point of the usb share under /home/ftp making it accessible by ftp (at least when ftp is configured as anonymous).
The solution is to add a small test before calling the function :
- Code: Select all
# diff setup_usb_storage setup_usb_storage.orig
548,550c548
< if (-f "$USB_ACCESS_PATH_CUSTOM/$name/proftpd") {
< SetupFTPShare($name);
< }
---
> SetupFTPShare($name);
Could you please make sure this path (or a better one
Cheers
