Proftpd DefaultFolder change?

yabado

Regular Pleskian
I am noticing that several of my users are wiping out their user root folders ( logs, error docs, etc...) when they fail to use '/httpdocs/' as the root directory when publishing with FTP.

I fixed this by editing the proftpd.conf to use ~/httpdocs/ as the DefaultRoot folder ( instead of just ~/ ).

This works, but I wonder if this is the best approach?

Would it be safer(better) to go through all the ftp users and make the home directory '/httpdocs/' instead of '/' in the admin UI?

If yes, what is the best way to do a mass update of this setting for multiple users ( multiple domains ) ?
 
Hello Yabado,

The problem with this is that you make it impossible for users who want to upload files that shouldn't be accessed through [www]. Such files would be put on the /folder root and not httpdocs/

Have you already thought about that option?
 
Yes, I did, but most of my users would never have need to do this. If they did, then they could always use the File Manager.

I would like to switch it (proftpd.conf) back and just change all the ftp user home settings instead. What is best way to edit several of these at once ?
 
Back
Top