That will not work - if You use the build in pureftpd server then there is no config file and the startup procedure can't be changed cause it's in a read only area.
If You use my PUREFTPD module, there is a config file, but this option is not implemented. However You can change the startup procedure of the module and add this it as a new startip option (but the syntax is different) - if You have no idea waht You are doing with vi then I would not recommend this.
If You are willing to wait 1 or 2 weeks I will add this option in the module
The new module version is now available (2.00.9) - I have added a few more options:
- '-K': Allow users to resume and upload files, but *NOT* to delete or rename them. Directories can be removed, but only if they are empty. However, overwriting existing files is still allowed (to support upload resume) . If you want to disable this too, add -r (--autorename) .
- '-L <max files>:<max depth>': To avoid stupid denial-of-service attacks (or just CPU hogs), Pure-FTPd never displays more than 2000 files in response to an 'ls' command. Also, a recursive 'ls' (-R) never goes further than 5 subdirectories. You can increase/decrease those limits with the '-L' option.
- '-R': Disallow users (even non-anonymous ones) usage of the CHMOD command. On hosting services, it may prevent newbies from making mistakes, like setting bad permissions on their home directory. Only root can use CHMOD when -R is enabled.
- '-r': Never overwrite existing files. Uploading a file whoose name already exists cause an automatic rename. Files are called xyz, xyz.1, xyz.2, xyz.3, etc.
I am running the N3200Pro with the 1.00.06 Firmware. This includes now the pure-ftpd v1.0.21. I am wondering if I might switch to the FTP module you built.
However, I have still the problem that dir ftp-dir command shows the links in /raid/ftproot as links and not as directories like this:
ftp> dir 200 PORT command successful 150 Connecting to port 2151 drwxr-xr-x 3 0 0 4096 Feb 25 11:48 . drwxr-xr-x 3 0 0 4096 Feb 25 11:48 .. lrwxrwxrwx 1 0 0 12 Jan 24 22:14 Bilder -> /raid/Bilde
While this is not a problem to most ftp client programs, it is confusing the built-in ftp client in the Mac-Finder. The Mac OX is resolving the links locally which is totally stupid, but I don't know any way to change the behavior on Macs that like to browse the Thecus ftp server.
Does your ftp module show the symbolic links to other directories as real directories for the ftp client?
sorry, the module is not available for the N3200pro. I have a N5200 and a N7700 and build the modules for this architecture - the modules run on other Thecus models with x86 processor architecture.
The module uses also the standard ftp directories (links), but You can set individual home folders for each user.
Seems fpr me, that this is an isue of the build in ftp client, cause using links on ftp servers is a very common thing. May be You can change this somewhere in the settings, but I have no Apple box to test this.