• Portada
    • Recientes
    • Usuarios
    • Registrarse
    • Conectarse

    Una ayudita con proftpd

    Programado Fijo Cerrado Movido
    Sistemas operativos
    1
    1
    555
    Cargando más mensajes
    • Más antiguo a más nuevo
    • Más nuevo a más antiguo
    • Mayor número de Votos
    Responder
    • Responder como tema
    Accede para responder
    Este tema ha sido borrado. Solo los usuarios que tengan privilegios de administración de temas pueden verlo.
    • T
      tripitongo
      Última edición por

      buenas!<br />he instalado proftpd en debian y mi /etc/proftpd.conf está asi:<br /><pre>

      This is a basic ProFTPD configuration file (rename it to

      'proftpd.conf' for actual use. It establishes a single server

      and a single anonymous login. It assumes that you have a user/group

      "nobody/nogroup" and "ftp" for normal operation and anon.

      ...
      ...
      ...

      <Directory /*>

      Umask 022 is a good standard umask to prevent new files and dirs

      (second parm) from being group and world writable.

      Umask 022 022

      Normally, we want files to be overwriteable.

      AllowOverwrite on
      </Directory>

      A basic anonymous configuration, no upload directories.

      <Anonymous ~ftp>
      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 *>
      <Limit WRITE>
      DenyAll
      </Limit>
      </Directory>

      Uncomment this if you're brave.

      <Directory mnt/hda2/subir/*>
        # Umask 022 is a good standard umask to prevent new files and dirs
        # (second parm) from being group and world writable.
        Umask				022  022
                 <Limit READ WRITE>
                 DenyAll
                 </Limit>
                 <Limit STOR>
                 AllowAll
                 </Limit>
      </Directory>
      

      </Anonymous>
      </pre>solo he modificado la ultima carpeta que en el proftpd.conf de por defecto se llama "incoming" y yo la he llamado "mnt/hda2/subir"<br />despues en /home/ftp he ejecutado 'ln -s /mnt/hda2/subir subir' para crear un enlace simbolico pero cuando me meto en la ftp e intento acceder a esa carpeta me dice<br /><pre>
      error 550 /subir: no such file or directory
      </pre>tambien he probado a poner "subir" en el proftpd.conf, pero no funciona…<br />he intentado hacer un hardlink, pero nada<br /><pre>
      peinflunch:/home/ftp# ln -d /mnt/hda2/subir/
      ln: creating hard link ./subir' to /mnt/hda2/subir/': Invalid cross-device link
      </pre>a ver si alguien que sepa de que va el tema me puede echar una mano, porque estoy bastante perdido…<br />un saludo!

      1 Respuesta Última respuesta Responder Citar 0
      • 1 / 1
      • First post
        Last post

      Foreros conectados [Conectados hoy]

      3 usuarios activos (0 miembros e 3 invitados).
      febesin, pAtO,

      Estadísticas de Hardlimit

      Los hardlimitianos han creado un total de 543.3k posts en 62.8k hilos.
      Somos un total de 34.8k miembros registrados.
      Mia ha sido nuestro último fichaje.