I am using Systemd to mount my network shares (cifs) from a NAS for years now. After upgrading Opensuse Tumbleweed to Plasma 6 some weeks ago I am experiencing a weird issue which is only affecting KDE apps.
As shown below, all files/folders in the shared folders show up as “locked” (literally).
Create Folder is deactivated and I cannot do anything with the files.
Also Digikam, which has the sample folders linked, thinks the network-share is currently not availble.
But every non-KDE-tool is fine with the share.Darktable can work with the files just fine, I used cp to copy some stuff over etc.
As far as I know, KDE apps use the kio framework for file-stuff. It seems there is a bug there, but before opening a ticket I wanted to ask here if there are other options I could try.
And where is the UID?
What is the output of ls -l /mnt/netshare/loki/pictures and ls -ld /mnt/netshare/loki/pictures
Also, open a terminal in Dolphin and check the credentials through there.
I have a feeling it is just the credentials being set to root.
It should work with only group credentials since 0770, but you never know with cifs.
$ kioclient stat /mnt/netshare/loki/pictures 2>/dev/null
NAME pictures
SIZE 0
FILE_TYPE 0040000
DEVICE_ID 112
INODE 256
MIME_TYPE inode/directory
ACCESS 0770
MODIFICATION_TIME Mon Jan 8 15:29:36 2024
ACCESS_TIME Mon Jan 8 15:29:36 2024
CREATION_TIME Sat Jan 5 19:55:10 2019
With regards to permissions: since everything works in terminal or GTK apps I assume they are setup correct. I did check the permissions and all looks good.
And it works if you for example rename a file in a terminal without using sudo?
What about if you open a terminal in Dolphin, do you end up in the correct location in the terminal or are you under a /run/... directory? (press f4 in Dolphin)
I just tested by setting root as owner and my group, credentials 770, and yepp, I can not interact with it in Dolphin either (other than reading contents).
This is confirmed.
Since KDE released 6.1 last Friday and I am still on 6.0.3 I will wait and test with the latest.
As of today the release has not yet landed in Opensuse Tumbleweed, but I guess it will soon.
@Brainspiller what is the version of Dolphin that you use? Dolphin is part of KDE Gear and not part of the Plasma release, so if you might already be running an up to date version.
Confirmed, 6.1 just dropped for me and after upgrade this issue is solved.
Still not letting me update the information on owner/group by pressing f5 though, I have to restart Dolphin.
But that is not present on pure arch only on manjaro for me. Not sure where the error lies. (and I don’t really care)
@Brainspiller according to @meven this issue was fixed in the KIO library in KF6 and to my understanding should be part of the KDE Frameworks 6.0 official release, but possibly the fix has only landed in 6.1. I’m currently running kf6-kio 6.1.0+p22.04+vstable+git20240415.1342-0 from Neon, where this issue does does not exhibit.