https://bugs.kde.org/show_bug.cgi?id=461756

ariasuni <pe...@hack-libre.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |general
            Product|kde-cli-tools               |frameworks-kio
            Version|5.26.3                      |5.109.0
           Assignee|aleix...@kde.org            |kio-bugs-n...@kde.org

--- Comment #2 from ariasuni <pe...@hack-libre.org> ---
I’ve done some investigation in the source code of kioclient and KIO but
without success so far (changing the product from `kde-cli-tools` to
`frameworks-KIO`, because I believe it’s where the issue lies).

BUT I’ve found something very interesting while playing with `kioclient`:

```
$ kioclient stat file:///home
NAME                  home
SIZE                  4096
FILE_TYPE             0040000
USER                  root
GROUP                 root
DEVICE_ID             66306
INODE                 14942209
MIME_TYPE             inode/directory
ACCESS                0755
MODIFICATION_TIME     Tue Jul 2 23:40:16 2019
ACCESS_TIME           Wed Jul 3 12:41:24 2019
CREATION_TIME         Tue Jul 2 22:47:19 2019

$ kioclient stat file://hostname/home
kioclient: The file or folder smb://hostname/home does not exist.

$ kioclient stat file://localhost/home
kioclient: The file or folder //localhost/home does not exist.

$ kioclient stat file://<MY_HOSTNAME>/home
kioclient: The file or folder //<MY_HOSTNAME>/home does not exist.
```

So it seems that:

– It’s capable of parsing correctly the `file://hostname/path` type URL
– It recognizes localhost and my local hostname
– It does the wrong thing still

It means the fix is probably easy, there’s probably a small logic error
somewhere, but finding it may be the hard part.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to