Bug 370430 - Dolphin samba read-write issue on top folder share
Summary: Dolphin samba read-write issue on top folder share
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: panels: folders (show other bugs)
Version: 16.12.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-10 21:22 UTC by Jón Frímann
Modified: 2020-02-16 19:08 UTC (History)
6 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 Jón Frímann 2016-10-10 21:22:25 UTC
There is a odd bug regarding with the samba protocol. When I have this directory structure I can't create or copy files into it.

smb://{IP address}/{share}/ (folder is read only)
Any sub-folder is read-write as normally. The bug also has other odd thing to it. If I create a new folder on Windows XP (remote computer) and share it that top folder is read-write. This bug is not present in KDE plasma version 5.7.4, but it is present in version 5.7.5. I'm currently running Dolphin version 16.04.3. This also happens when I'm communicating with a computer that has Samba version 4.4.3 installed (FreeBSD). I know this is not a remote computer problem or a samba problem as I tested that possibility.

I'm going to upgrade to kde version 5.8.0 soon and I hope this bug is resolved in that version.

Reproducible: Always

Steps to Reproduce:
1. Log on to a Windows share (I only have Windows XP/FreeBSD Samba 4.4.3 share)
2. Log-in to the remote computer. Options for creating folder or copy files to samba shares is disabled at top level folder, but works in sub-folder.
3.

Actual Results:  
Samba share appears to be read only while it is in fact read-write and all settings are correct. Sub-folders work properly.

Expected Results:  
All samba shares should be read-write and accessible. 

This did not happen with KDE plasma version 5.7.4 or older versions. Only appears in KDE Plasma after version 5.7.5.
Comment 1 Jón Frímann 2016-10-11 12:47:17 UTC
I can confirm this bug also in KDE 5.8.0. I can no longer copy or create new files on samba shares if I'm not in a sub-folder.
Comment 2 Martin Unzner 2016-11-04 00:22:45 UTC
I can confirm this issue, and also the fact that it only occurs within KDE Plasma's KIO / Dolphin. I have that problem with a Synology DiskStation.
Comment 3 Jón Frímann 2016-11-04 01:10:59 UTC
I can confirm this bug in KDE 5.8.3. 

It continues to happen in FreeBSD 10.3 with Samba 4.4.5. There was one difference now, before I connected to Windows XP machine I connected to FreeBSD machine and then I was able to create new folders at top folder levels (samba:\\{computer}\folder\), after I connected to the Windows XP machine that was no longer possible when I reconnected to the FreeBSD machine. There are no error messages that I can show, since none appear in dmesg.
Comment 4 demlak 2016-11-05 02:08:53 UTC
Hi,
i can confirm.. and add more related info:

it seems to be not read-only on the top folder.. it is just no write permission.. because i'm able to delete and rename files and folders in that top folder.

this also happens on mtp:// (and maybe other kio_slaves)

kde 5.8.3
kde frameworks 5.27.0
dolphin 16.08.2
Comment 5 Jón Frímann 2016-11-16 12:53:52 UTC
Adding more info. This bug also effects copying files to samba share. It sometimes works at sub-directory (smb:[IP-Address]/folder/folder) and sometimes it doesn't.

I'm currently running KDE Plasma 5.8.3. Dolphin 16.04.3.
Comment 6 kiv 2016-11-29 13:29:39 UTC
I confirm this bug also in openSUSE Leap 42.2 in Dolphin version 16.08.2 and KDE Frameworks 5.26.0, Qt 5.6.1 (собрана с версией 5.6.1), and windowing system xcb.
This bug is very annoiyng and I will be glad to have imporvement patch as soon as possible.

Mean time Krusader and Smb4K are working just fine without this bug when working with the same Samba shares.
So as work around at least in openSUSE Leap 42.2 I suggest to use them where missing behaviour of Dolphin is needed.
Comment 7 mathojojo 2017-03-10 18:03:51 UTC
Confirmed too on Plasma 5.9
Comment 8 Jón Frímann 2017-03-17 15:09:54 UTC
I have discovered that if a 2nd tree folder (that is folder->folder) has a dummy folder or file it is possible to move and copy into that folder. This does not work on 1st order folder (smb:\\folder).

This bug does not appear to leave any error messages to work with.
Comment 9 Bronson 2017-04-19 06:10:41 UTC
yep same bug here:
https://bugs.kde.org/show_bug.cgi?id=376344
Comment 10 kiv 2017-10-21 08:49:37 UTC
(In reply to kiv from comment #6)
> I confirm this bug also in openSUSE Leap 42.2 in Dolphin version 16.08.2 and
> KDE Frameworks 5.26.0, Qt 5.6.1 (собрана с версией 5.6.1), and windowing
> system xcb.
> This bug is very annoiyng and I will be glad to have imporvement patch as
> soon as possible.
> 
> Mean time Krusader and Smb4K are working just fine without this bug when
> working with the same Samba shares.
> So as work around at least in openSUSE Leap 42.2 I suggest to use them where
> missing behaviour of Dolphin is needed.

When openSUSE Leap 42.3 was released this bug was not available in Leap 42.3.
Unfortunately now after about a Year and several updates of openSUSE Leap 42.3 I can confrim it again become available. Same bug now is available again with Dolphin 17.04.2 in Leap 42.3.