ciao per una questione di permessi sul server ftp, visto che per via del chroot non posso usare un link simbolico avrei bisogno di montare la directory /archivio/ sotto /home/user/
l'albero delle dir è:
/
|-/archivio/
|-/dev/
|-/etc/
|-/home/
|- ecc...
l'idea m'è venuta leggendo questo dal sito di proftpd:
il montaggio con mount -Flofs sarebbe comodissimo, ma va solo su solaris a quanto pare... come posso ottenere la stessa cosa su suse? si parla di montaggio via NFS, come lo posso fare?Symlinks
Symlinks will not work from within a chrooted area. The reason should be clear from a casual inspection of the nature of the chroot command. It is not possible to have a symbolic link to a directory which can"t be reached beacuse it's outside of the current chroot. Work arounds to allow access to other parts of the file system include exporting the part of the filesystem to be accessed from inside the chroot and mounting via NFS, using hard file links or (on Solaris) using lofs to mount the directory via the loopback.
mount -Flofs /home/data1 /ftp/data1
mount -Flofs /home/data2 /ftp/data2
As of the 2.4.x Linux kernel tree it is possible to mount filesystems multiple times and to mount subdirectories of filesystems elsewhere on the filesystem.
grazie mille!