[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why can't I access my anonymous /mirror directory



You havent specified a directory,

Try adding this to your proftpd.conf:

DefaultRoot /path/to/specific/directory



Replying to the message sent by Otto Wyss  on Fri, 14 Nov 2003 21:26:15 +0100, received at 10:32:49 on 17/11/2003. Otto Wyss wrote:
>I haven't used proftp for almost a year but now I tried to use it again
>for my local debian partial mirror.  But I can't access the the
>"/mirror" directory anymore. I always get the error "no such file or
>directory". Below is the relevant part of my proftp.conf.
>
>Does anyone know the base directory which proftpd uses? It's probably a
>standard path but I can't find it anywhere in the docs.
>
>--------------------------------
><Anonymous /mirror>
>  User                          ftp
>  Group                 nogroup
>  # We want clients to be able to login with "anonymous" as well as
>"ftp"
>  UserAlias                     anonymous ftp
>  RequireValidShell             off
>
>  # Limit the maximum number of anonymous logins
>  MaxClients                    10
>
>  # We want 'welcome.msg' displayed at login, and '.message' displayed
>  # in each newly chdired directory.
>  DisplayLogin          welcome.msg
>  DisplayFirstChdir             .message
>
>  # Limit WRITE everywhere in the anonymous chroot
>  <Directory debian>
>    <Limit READ>
>      AllowAll
>      IgnoreHidden              on
>    </Limit>
>    <Limit WRITE>
>      DenyAll
>      IgnoreHidden              on
>    </Limit>
>  </Directory>
>
></Anonymous>
>--------------------------------
>
>O. Wyss
>
>--
>See "http://wxguide.sourceforge.net/"; for ideas how to design your app.




Reply to: