I assume that you have no problem with database settings.
It seems there is no way to have ProFTP working without setting the user homedir world writeable. The problem is that every dir you have to open, in order to reach the specified homedir, must have the same permission. So I moved my /Library/WebServer/www/ to the first level of my hard disk (i.e. /www/). I made it world writeable (chmod 777) and it works correctly.
Remember to set your config file in order to restrict access only to your default directory. Do not forget to specify “DefaultRoot ~/” in the <Global> part.
Surely there’s a better answer than 777? Has anyone discovered anything?
From what I’ve seen, if the userid matches an existing shortname, it gains that shortname’s privileges. However, that massively defeats the advantage of having the mysql backend; namely that the user data doesn’t have to be in NetInfo or Open Directory! With this mechanism, you’d have to enter the info twice! Is there a better way to do this?
Comments are closed