I wish to set pure-ftpd to run as an Anonymous only ftp server with upload and create directory and even read . files and all that but simply chrooted to /home/openftp/ I could not work out what edits to make to the config files as noted in man pure-ftpd It has got me a little Konfuzed cause I dont do any programming and this is my first debian. i thought perhaps I should run it stand-alone from a local config script as it is just to be anon only ftp i have not yet changed the default config files. thanks bunches for any input here they are; grace@hometown:~$ uname -r 2.6.12-9-amd64-generic Reformatting pure-ftpd(8), please wait... root@hometown:/usr/share/man# cd - bash: cd: OLDPWD not set root@hometown:/usr/share/man# cat /etc/default/pure-ftpd-common # Configuration for pure-ftpd # (this file is sourced by /bin/sh, edit accordingly) # STANDALONE_OR_INETD: valid values are "standalone" and "inetd". # Any change here overrides the setting in debconf. STANDALONE_OR_INETD=inetd # UPLOADSCRIPT: if this is set and the daemon is run in standalone mode, # pure-uploadscript will also be run to spawn the program given below # for handling uploads. see /usr/share/doc/pure-ftpd/README.gz or # pure-uploadscript(8) # example: UPLOADSCRIPT=/usr/local/sbin/uploadhandler.pl UPLOADSCRIPT= # if set, pure-uploadscript will spawn $UPLOADSCRIPT running as the # given uid and gid UPLOADUID= UPLOADGID= root@hometown:/usr/share/man# and root@hometown:/usr/share/man# cat /etc/init.d/pure-ftpd #! /bin/sh # # pure-ftpd starts and stops the pure-ftpd ftp daemon PATH=/sbin:/bin:/usr/sbin:/usr/bin NAME=pure-ftpd DESC="ftp server" : ${SSDAEMONLOGOPTS:="--quiet"} UPLOADDAEMON=/usr/sbin/pure-uploadscript UDNAME=pure-uploadscript UDDESC="ftp upload handler" WRAPPER=/usr/sbin/pure-ftpd-wrapper # try to figure with suffix this script is called, # $0 might be a symlink pointing to this script if [ -h $0 ]; then ME=`/bin/readlink $0` else ME=$0 fi SUFFIX=`basename $ME | sed -ne 's/^pure-ftpd-\(.*\)/\1/p'` if [ "$SUFFIX" ] ; then DAEMON=/usr/sbin/pure-ftpd-$SUFFIX else DAEMON=/usr/sbin/pure-ftpd fi test -x $DAEMON || exit 0 test -x $WRAPPER || exit 0 export STANDALONE_OR_INETD=inetd test -r /etc/default/pure-ftpd-common && . /etc/default/pure-ftpd-common set -e start_uploadscript() { if [ "$UPLOADSCRIPT" -a "$STANDALONE_OR_INETD" != inetd ] && \ egrep -i '^[ ]*(yes|1|on)[ ]*' /etc/pure-ftpd/conf/CallUploadScript > /dev/null 2>&1 then UOPTS="" test "$UPLOADUID" && UOPTS="$UOPTS -u $UPLOADUID" test "$UPLOADGID" && UOPTS="$UOPTS -g $UPLOADGID" echo -n "$1 $UDDESC: " start-stop-daemon --start $SSDAEMONLOGOPTS --oknodo \ --exec $UPLOADDAEMON -- -r "$UPLOADSCRIPT" -B $UOPTS echo "$UDNAME." fi } case "$1" in start) test "$STANDALONE_OR_INETD" = standalone || exit 0 echo -n "Starting $DESC: " start-stop-daemon --start $SSDAEMONLOGOPTS --pidfile /var/run/pure-ftpd/pure-ftpd.pid \ --exec $WRAPPER -- $SUFFIX start_uploadscript Starting ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop $SSDAEMONLOGOPTS --oknodo \ --pidfile /var/run/pure-ftpd/pure-ftpd.pid start-stop-daemon --stop $SSDAEMONLOGOPTS --oknodo --exec $UPLOADDAEMON echo "$NAME." ;; restart|force-reload) test "$STANDALONE_OR_INETD" = standalone || exit 0 echo -n "Restarting $DESC: " start-stop-daemon --stop $SSDAEMONLOGOPTS --oknodo \ --pidfile /var/run/pure-ftpd/pure-ftpd.pid start-stop-daemon --stop $SSDAEMONLOGOPTS --oknodo --exec $UPLOADDAEMON sleep 1 start-stop-daemon --start $SSDAEMONLOGOPTS --pidfile \ /var/run/pure-ftpd/pure-ftpd.pid --exec $WRAPPER -- $SUFFIX start_uploadscript Restarting ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0 root@hometown:/usr/share/man#