Bug 515650 - Dolphin does not unmount an auto-mountable cifs share. An inline message says "You must be root."
Summary: Dolphin does not unmount an auto-mountable cifs share. An inline message says...
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: git-master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-06 19:37 UTC by Patrick Silva
Modified: 2026-02-07 17:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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..