• Portada
    • Recent
    • Users
    • Register
    • Login

    Una ayudita con proftpd

    Scheduled Pinned Locked Moved Sistemas operativos
    1 Posts 1 Posters 594 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      tripitongo
      last edited by

      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 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post

      Foreros conectados [Conectados hoy]

      0 usuarios activos (0 miembros y 0 invitados).
      febesin, pAtO, smith, cobito

      Estadísticas de Hardlimit

      Los hardlimitianos han creado un total de 543.8k posts en 62.9k hilos.
      Somos un total de 35.0k miembros registrados.
      hubertnies3165 ha sido nuestro último fichaje.
      El récord de usuarios en linea fue de 222 y se produjo el Mon Jul 27 2026.