Bug 354503 - KIO FTP protocol adds space at the beginning of some files/dirs while ftp to AIX FTP servers, which makes it unable to enter these directories
Summary: KIO FTP protocol adds space at the beginning of some files/dirs while ftp to ...
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: FTP (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-28 13:51 UTC by Patryk Benderz
Modified: 2022-11-29 09:43 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Short film showing problem (3.81 MB, video/mp4)
2015-10-28 14:24 UTC, Patryk Benderz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patryk Benderz 2015-10-28 13:51:05 UTC
Krusader sees space at the beginning of some files/dirs while ftp to AIX FTP servers, which makes it unable to enter these directories. Be aware, that there are in fact NO SPACES at the beginning of folder names when you list them while ssh to AIX.

The problem with leading spaces in filenames, while ftp connection occurs when connecting to FTP servers on AIX 5.3.0.0 and 6.1.0.0. (other versions also may be affected)

I have noticed following relation: the files with additional space in name are ONLY the ones, which have NOT been modified at current day. In such cases the 'hh:mm' part of modification date is replaced by 'YYYY ' followed by additional space.

This problem occurs also in Midnight Commander, see bugs:
http://www.midnight-commander.org/ticket/2635
http://www.midnight-commander.org/ticket/2841

Other FTP clients works fine.

Reproducible: Always

Steps to Reproduce:
1.Start Krusader
2.Make FTP connection to some AIS Operating System host
3.Navigate with arrows to problematic directory, lets call it 'folder_name'
4.Press Enter
5.Error: Could not enter folder folder_name


Actual Results:  
5.Error: Could not enter folder folder_name

Expected Results:  
Krusader should be able to enter folder 'folder_name'. Access rights are OK.

As a workaround, user may type distant path manually in upper path bar, in that case Krusader enters directory 'folder_name' without problems. I will try to make short film showing that case.
Comment 1 Patryk Benderz 2015-10-28 14:24:42 UTC
Created attachment 95180 [details]
Short film showing problem

As you can see on this film, some directories names in Krusader are shifted one character to the right. This is because Krusader thinks there is a space at the very beginning of directory name. This also breaks sorting order.
Comment 2 Alex Bikadorov 2016-10-09 18:52:10 UTC
hard to test. Can you please check if this also happens with Dolphin.
Comment 3 Alex Bikadorov 2016-11-22 19:58:23 UTC
cannot test. Don't know if it Krusader related
Comment 4 Patryk Benderz 2016-11-23 12:15:46 UTC
(In reply to Alex Bikadorov from comment #3)
> cannot test. Don't know if it Krusader related

Sorry, missed your previous reply. Why can't you test?
Maybe I can help?
Comment 5 Alex Bikadorov 2016-11-23 19:41:55 UTC
Well, I cannot reproduce this with a standard FTP server (tested with vsftpd). Do you know of one that shows this bug and is publicly accessible?

And
>Can you please check if this also happens with Dolphin.

This is important. It is maybe not a Krusader issue at all.
Comment 6 Patryk Benderz 2016-11-25 14:09:44 UTC
(In reply to Alex Bikadorov from comment #5)
> Well, I cannot reproduce this with a standard FTP server (tested with
> vsftpd). Do you know of one that shows this bug and is publicly accessible?
Sorry but I do not know any public AIX ftp servers.


> >Can you please check if this also happens with Dolphin.
> This is important. It is maybe not a Krusader issue at all.
This bug occurs also in Dolphin. This might indicate problem with some library.
Did you see movie I have attached to this bug?
Comment 7 Alex Bikadorov 2016-11-25 18:13:09 UTC
> This bug occurs also in Dolphin. This might indicate problem with some library.

Yep, KIO. Moved this bug.
Comment 8 Justin Zobel 2022-11-29 05:06:01 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 9 Patryk Benderz 2022-11-29 09:43:46 UTC
Just rechecked with AIX 7.2 and Krusader 2.7.2
Issue still persist. Symptoms are the same as before.