I have a number of smb v1 shares. (I know that smbv1 is old and vulnerable but I can't change it) Because of the old smb protocol, I cannot use nautilus to open then. Instead, I used fstab entries to mount them. The entries in /etc/fstab look like this:

//smbserver/folder /media/user/smbserver/folder cifs credentials=/home/user/.smbcredentials,vers=1.0,noauto,user 0 0

On a Mint 19 machine, this worked like a charm, but on a new Fedora 30 installation, I only get the following error:

$ mount /media/user/smbserver/folder
This program is not installed setuid root -  "user" CIFS mounts not supported.

I already tried to set the suid bit for /usr/bin/mount, but this did not change anything.

How can I mount the smb shares on Fedora 30?


Ok, found out myself.

The following programs needed to have the suid bit set (sudo chmod u+s /bin/...):


Some Distros do this by default. However, there seems to be discussion about the security (s-bit is always problematic).

  • Thanks for your solution. This works for NFS as well. – John Jiang May 5 at 6:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.