About two weeks ago, I added the following to my fstab so Fedora 35 would automatically mount my NAS at startup:
//192.168.1.2/home /mnt/NAS cifs defaults,_netdev,iocharset=utf8,credentials=/home/dave/secret.txt,uid=1000,gid=1000 0 2
I created the mount point and took ownership of it with:
sudo mkdir /mnt/NAS sudo chown dave:dave /mnt/NAS
All was well with the world.
Yesterday, I think, I got a kernel update and now I can no longer access the NAS directly from Dolphin. When I try, I get:
An error occurred while accessing ‘Home’, the system responded: This program is not installed setuid root - “user” CIFS mounts not supported.
If I go to the NAS from within Dolphin by specifying its address:
No problem. It works fine.
Did something change with the new kernel? I see one other post here about suddenly losing access to a mounted SMB drive. But, that turned out to be a problem with Windows doing something.
Throwing a wider net, I found a similar issue:
The solution is to set the suid bit on 3 files:
sudo chmod u+s /bin/mount sudo chmod u+s /bin/umount sudo chmod u+s /usr/sbin/mount.cifs
Before I blindly do that, can anyone explain what happened and confirm that the above is the solution?
EDIT: forgot my system information:
Operating System: Fedora Linux 35
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.17.9-200.fc35.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT