Bug 74824 - fish:// have problems following symlinks to directories
Summary: fish:// have problems following symlinks to directories
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Unmaintained
Component: fish (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Jörg Walter
URL:
Keywords:
: 86334 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-10 13:35 UTC by Gioele Barabucci
Modified: 2004-11-19 16:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gioele Barabucci 2004-02-10 13:35:06 UTC
Version:           unknown (using KDE 3.2.0, Gentoo)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r4, propolice)
OS:          Linux (ppc) release 2.4.22-ben2-r4

At my remote host I have access to
/home/mynick and /tmp/mydir.
I have also a symlinks to /tmp/mydir:
/home/mynick/temp -> /tmp/mydir

fish:// have no problem entering or copying files from /home/mynick/temp, but refuse to copy a whole dir from local host to /home/mynick/temp, replying "fish:.../home/mynick/temp is a file but a directory was expected."

Simple steps to reproduce:

1) on remotehost create a symlink from a dir to another dir
2) conntect to remotehost and enter that dir
3) copy a directory from localhost to remotehost (you will get the error I reported)
Comment 1 Gioele Barabucci 2004-02-10 13:36:18 UTC
If you copy a single file from localhost to remotehost you'll be asked if you want to replace the symlink the file you're tranfering.
Comment 2 Gioele Barabucci 2004-02-10 13:38:07 UTC
If you click 'Reload' while you're in the directory konqueror will ask you if you want to save a file of type application/octects-stream.
Comment 3 Mathieu Jobin 2004-05-29 01:49:44 UTC
same issue here, running 3.2.2
Comment 4 Gioele Barabucci 2004-05-30 10:44:52 UTC
Another strange bahavoir is that when using the "Directory first" option, the linked directory will not appear first along the other dirs but along the common files
Comment 5 Mathieu Jobin 2004-06-01 20:34:26 UTC
i think the priority of this bug could be increase...

it can be warmful for a user going to fast to overwrite his symlink by the directory.

additionaly, there is another annoying bug,... openoffice and koffice document are considered GZIP files, ... which is really annoying when double clicking on them. I think its the same bug,... bad recognition of file types.

Comment 6 Mathieu Jobin 2004-06-28 17:07:03 UTC
hmm, seems to does the job correctly, but user feedback is not correct.

here is what I do

server:

mkdir temp1
touch temp1/file1
ln -s temp2

home computer:
mkdir temp2
touch temp2/file2
fire up konqueror, log in through fish://
drag local temp2 directory over symlinks in fish.

konqueror ask if I want to OVERWRITE ? ....
well, I said overwrite and it basically move the file2 and delete the local directory. which is good. but I did not think it would do it.

Comment 7 Nicolas Goutte 2004-07-31 18:19:15 UTC
See also bug #86334
Comment 8 Tommi Tervo 2004-10-21 14:42:10 UTC
*** Bug 86334 has been marked as a duplicate of this bug. ***
Comment 9 Waldo Bastian 2004-11-19 16:25:11 UTC
Fixed for KDE 3.3:
revision 1.40
date: 2004/05/26 10:03:48;  author: faure;  state: Exp;  lines: +2 -0
Fixed copying/moving files to a symlink-to-a-directory (which used to give a
"file was found when a directory was expected" error).