Opened 20 years ago
Last modified 9 years ago
#332 closed Bug report
Cannot cd into subdir if dir is a .lnk
|Reported by:||mbabuskov||Owned by:|
|Keywords:||Cc:||mbabuskov, nilsoncain, Tim Kosse|
|Component version:||Operating system type:|
|Operating system version:|
The problem is with filezilla server.
I don't know how to access files on different partitions
but it didn't work)
So I created .lnk file in my C: root, that points to my
I can do
from ftp client, but I cannot cd into any subdir...
I hangs for some time, and then it outputs that
directory isn't found.
Change History (6)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
Yes I did, I forgot to write that. I gave rights to the
whole D: partition, and to that subdirectory, but it doesn't
The server tries to do CWD to dir:
and then complains that it does'n exist. I see three
possible solutions to this:
- allow relative CWD's (this will require that servers
remembers last cwd of a client)
- check if any part of the path is shortcut (.lnk) and
translate that into real path:
- check the part
- if it is a shortcut: forget everything before and
translate that to the real path, example:
when the parsing reaches "diskd.lnk", it should translate
the command to:
and then start over.
- allow to change base_dir with command like:
and all the absolute paths will use that disk partition.
comment:3 by , 20 years ago
If resolving .lnk files is enabled and the if the user has proper
permissions, .lnk files appear as regular folder in the directory
listing and can be accessed this way.
So if the file is myfolder.lnk, it can acessed by CWD myfolder
comment:4 by , 20 years ago
You didn't read my post.
I can also cd into myfolder.lnk directory, no problem.
But, I cannot cd into ANY SUBDIR in that myfolder directory.
comment:5 by , 20 years ago
I think I do now understand your problem.
Please try the test release from
comment:6 by , 20 years ago
Ok. Now it works for directories, but it still doesn't work
Assuming that you have 2 partitions (C: and D:), try this:
- Create .lnk to D: somewhere on C: disk
- Give rights to user to both C: and D: and all subdirs,
and setup C: to be home directory
- Login to server
- cd into .lnk that leads to D:
so far, so good, now:
- try to enter into any dir on D: disk...
Have you tried adding the directory in the user's