#
# configuration file for campus
#

# Pedantic <on|off>
#
# Specifies if the configuration should be checked more careful
# if Pedantic is on the program will not start if it suspects
# something might be wrong

pedantic on

# Warnings <on|off>
#
# Specifies if warnings will be displayed or not

Warnings on

# ResolveHostNames <on|off>
#
# Specifies wether hostnames will be resolved or not

ResolveHostNames on

# LogFile <logfile>
#
# Where to send the logoutput to.

LogFile /boot/home/log/campus.log

# Port <port>
#
# This is the port on which campus should accept connections on.

Port 21

# IdleTime <secs>
#
# Specifies the default time after that an user is logged out
# when being idle.

IdleTime 900

# user <name>
#
# Creates a new user names <name>

user ftp						HomeDir /boot/home/ftp	alias anonymous,guest	ChangeRoot Public

# group <name>
#
# Creates a new group with name <name>

group users		members ftp 

# deny|allow <path> users <users,groups> permissions <permissions>
#
# deny/allow users <users,groups> to execute commands which reqire
# permission <permissions> 
#
# Possible values for <permissions> are:
# Action      Permission for
# all 		- all actions
# list		- listing of a directory
# get		- retrieving of files
# put		- uploading of files (if a file with the same file name exists
#		  the permission to delete it is checked)
# chmod	- changing the permission bits
# cd		- changing the actual directory
# delete	- deleting a file
# idle		- changing the maximum idle time
# umask	- changing the umask
# rename	- renaming a file
# mkdir	- creating a new directory

# block anything!

deny	/				users all		permissions all

# Set the rights for anonymous/ftp/guest

allow	/boot/home/ftp			users ftp	permissions cd,list,get
allow	/boot/home/ftp/incoming	users ftp	permissions put,mkdir

