Bug 515650

Summary: Dolphin does not unmount an auto-mountable cifs share. An inline message says "You must be root."
Product: [Applications] dolphin Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: git-master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2026-02-06 19:37:22 UTC
SUMMARY
I mount some cifs shares with Dolphin via /etc/fstab. These are the lines of my cifs shares in the fstab file:

#cifs
//192.168.0.50/2TB /cifs/2TB_CIFS cifs workgroup=workgroup,user,guest,iocharset=utf8,uid=stalker,gid=stalker,noauto,x-systemd.automount,x-systemd.device-timeout=10ms,_netdev
//192.168.0.50/TOSHIBA /cifs/TOSHIBA_CIFS cifs workgroup=workgroup,user,guest,iocharset=utf8,uid=1000,gid=1000,noauto,x-systemd.automount,x-systemd.device-timeout=10ms,_netdev
//192.168.0.50/WIN10 /cifs/WIN10_CIFS cifs workgroup=workgroup,user,guest,iocharset=utf8,uid=stalker,gid=stalker,noauto,x-systemd.automount,x-systemd.device-timeout=10ms,_netdev
//192.168.0.50/WD /cifs/WD_CIFS cifs workgroup=workgroup,user,guest,iocharset=utf8,uid=stalker,gid=stalker,noauto,x-systemd.automount,x-systemd.device-timeout=10ms,_netdev
//192.168.0.50/DADOS /cifs/DADOS_CIFS cifs workgroup=workgroup,user,guest,iocharset=utf8,uid=stalker,gid=stalker,noauto,x-systemd.automount,x-systemd.device-timeout=10ms,_netdev

Dolphin is able to mount all these shares, but it does not unmount them.
When I try to do it, an inline message says "You must be root", or something similar.

However, if I remove the "x-systemd.automount" mount option from all cifs shares in the fstab file, Dolphin is able
to unmount all of them as expected.

EXPECTED RESULT
Dolphin should unmount auto-mountable cifs shares

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Graphics Platform: Wayland
Comment 1 Patrick Silva 2026-02-07 17:45:42 UTC
I have solved this by replacing "user" mount option with "users" and removing both "uid" and "gid" mount options in my fstab file..