Proftpd + softlinks + no go?
Hello,
until now I used a temporary setup where I mounted all my harddisks at /data/everyone/[somedir] with "/data/everyone" being the Proftp "root" when logged in.. This setup worked, but since Games, Series and Albumz were stored in "Stuff" (e.g. mount /dev/hdc1 /data/everyone/Stuff), it was'n very clear what was inside the "stuff" directory. So I desided to use softlinks: I divided the various files over various disks: hdb1 = games + applications hdc1 = movies hdd1 = Series + albumz Wrote me a little script: -------------------------------------------------------------------------------- #! /bin/bash # mount /dev/hdb1 /tmp/hdb1 mount /dev/hdc1 /tmp/hdc1 mount /dev/hdd1 /tmp/hdd1 #softlinks (FTP => /data/everyone) ln -s /tmp/hdb1/Series /data/everyone/Series ln -s /tmp/hdb1/Albumz /data/everyone/Albumz ln -s /tmp/hdb1/Mp3 /data/everyone/Mp3 ln -s /tmp/hdc1/Movies /data/everyone/Movies ln -s /tmp/hdd1/Games /data/everyone/Games ln -s /tmp/hdd1/Applications /data/everyone/Applications -------------------------------------------------------------------------------- I tested on the server with cd if I could get to see the files,and I could. Now I logged in to the FTP, saw the list of (what appears to be) directories and tried to enter 1 of the dirs: 550: "no such file or directory" :scratch: Tried several kinds of softlinks, but it never worked.. Is it possible that I cannot use softlinks when FTPing? (When cd'ing through sshd, it works..) Thanks! PS: SlackWare 9.1 BTW |
Have a look at
/<where ever RH puts docs>/proftpd<version-mumble>/doc/Configuration.html Supposedly there's a few settings in the respect of handling links. Cheers, Tink |
Quote:
off => no softlinks (dirs invisible) on => visible, but not enterable (problems stays) The directories do say "l".. MOD: and is it normal I cannot chmod a softlink? |
Quote:
Cheers, Tink |
Quote:
(but I still don't know what to do :( ) |
So if I understand correctly, it should work with the currect settings?
Then why can't I enter the directory the softlink is targetting at? I do have r+x rights to the target... |
It's still not working..
This is my configfile, maybe you guys see something I don't see.. Code:
ServerName "Datanuke FTP Server" |
All times are GMT -5. The time now is 04:17 AM. |