hi, i opened a smb folder on a server with dolphin network. when i try to copy a file to it which contains a : then i get an error: cannot rename partfile, check permissions and on the target folder a file is created, which is empty and has as name before the : Reproducible: Always Steps to Reproduce: 1. create a file a:b 2. open dolphin a navigate to a network smb folder 3. copy the file to this folder Actual Results: a empty file with name a is created an error message is displayed Expected Results: the file is copied dolphin: Installiert: 4:16.04.2-2 *** 4:16.04.2-2 500 500 http://cdn.debian.net/debian unstable/main amd64 Packages 100 /var/lib/dpkg/status on siduction-linux
example folder: smb://user@storage/data/ even after accepting the error the action is still shown as unfinished in the notification bar of kde.
Moving to kio-extras where the smb ioslave lives.
Bug persists. Operating System: Arch Linux KDE Plasma Version: 5.15.3 KDE Frameworks Version: 5.56.0 Qt Version: 5.12.2
Colons are not valid characters in file names on Windows and by extension SMB. You could try to find a way to configure samba/libsamba to support colons, but honestly you'll probably have an easier time simply not using colons. The stuck notification I cannot reproduce, chances are we actually fixed that somewhere along the line already.
bug also occurs when I try to copy a file to an ext4 samba share.
The file system has next to nothing to do with it. A server may be Windows or not, a Client may be Windows or not. Our code is oblivious to either as it acts as a frontend to libsamba, it doesn't deal with the nitty gritty details of the SMB protocol directly. We give the library a URL with colon, whether the client and/or server is configured to correctly map colons to something that wont break is up to samba to figure out.