If you want to change some permissions you could also make a shell scipt and put it in /etc/cron.hourly or /etc/cron.dayly etc. I suggest to chown all files to some other user/group than root.
I run ftp server on my lan and I recompiled ProFTPD with these params:
./configure \
--prefix=/usr \
--enable-autoshadow \
--enable-ctrls \
--enable-ipv6 \
--localstatedir=/var/run \
--with-modules=mod_readme:mod_ratio:mod_tls:mod_wrap:mod_ctrls_admin:mod_md5fs:mod_sql:mod_sql_mysql:mod_qu otatab:mod_quotatab_sql:mod_quotatab_file \
--with-includes=/usr/include/mysql \
--with-libraries=/usr/lib/mysql \
My /home/ftp/ftpusers/ dir and included files are chmod nobody.nobody and I did not experienced any problems since 3rd of Jan 2005.
Last edited by krassyo; 12-06-2005 at 10:50 AM.
|