Una ayudita con proftpd
-
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 nogroupWe 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 .messageLimit 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!