Announcement

Collapse
No announcement yet.

Unable to rename file via kio smb

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Unable to rename file via kio smb

    Hi All,

    I am unable to rename a file on a SMB-share (Synology) using Dolphin/kio_smb. After I rename a file I can see a progress indicator in the KDE message area. This indicator will never finish and when I refresh Dolphin the old filename is back again.

    In de ~/.xsession-error file I can see the following messages:

    kio_smb: old name = QUrl("smb://ramses/home/hello.sh") , new name = QUrl("smb://ramses/home/oeps.sh")
    kio_smb: updateCache "/home/hello.sh"
    kio_smb: updateCache "/home/oeps.sh"
    kio_smb: stat dst
    kio_smb: size 0
    kio_smb: smbc_rename "smb://ramses/home/hello.sh" "smb://ramses/home/oeps.sh"
    kio_smb: failed
    kio_smb: size 65
    kio_smb: exit with error
    kf5.kio.core: rename() did not call finished() or error()! Please fix the "smb.so" KIO slave

    Is this a known bug or am I missing something?

    Andy

    #2
    Update: with a local installed Samba-server (instead Synology) everything seems to work fine.

    Update2: Found the cause. Synology accept SMB2 and higher connections. In Ubuntu 18 the smbclient also accepts connections above SMB1 resulting in a connection without Unix CIFS calls support. This causes the rename error. The workaround is to configure Synology only to accept SMB1 connections. ;-(
    Last edited by andyesten; May 04, 2018, 02:44 AM.

    Comment

    Working...
    X