© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BazziteB
Bazzite•4mo ago•
4 replies
🆆hiskey🆃ango🅵oxtrott

Mounting SMB shares fails both ways, fstab and systemd

For ages I used to mount SMB shares on my NAS with an simple entry in /etc/fstab:
//192.168.2.2/uXXX  /home/xxx/mnt/uXXX  cifs  vers=2.0,credentials=/home/xxx/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 1
//192.168.2.2/uXXX  /home/xxx/mnt/uXXX  cifs  vers=2.0,credentials=/home/xxx/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 1


And all was fine, in Ubuntu, Debian, EndeavorOS. But with Bazzite, it mounts but gives the well known and yet totally cryptic
"This program is not installed setuid root -  "user" CIFS mounts not supported."
"This program is not installed setuid root -  "user" CIFS mounts not supported."


I tried to set up a mount in systemd, but it is either
"The directory /home/xxx/mnt/sData is specified as the mount point (second field in /etc/fstab or Where= field in systemd unit file) and is not empty."
"The directory /home/xxx/mnt/sData is specified as the mount point (second field in /etc/fstab or Where= field in systemd unit file) and is not empty."
(but it is empty, I can delete and mkdir, all the same), or
"home-xxx-mnt-uXXX.mount: Mount path /home/xxx/mnt/uXXX is not canonical (contains a symlink)."
"home-xxx-mnt-uXXX.mount: Mount path /home/xxx/mnt/uXXX is not canonical (contains a symlink)."
once I add the noempty option.

Is there any way around this and make it work like it used to in the good old days?
Solution
/home is symlinked from /var/home. Try the full path for systemd. For the fstab mount, you probably need to set the right ownership and permissions for the folder and credentials.
Jump to solution
BazziteJoin
The operating system for the next generation of gamers.
29,482Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Issues mounting SMB share via systemd mount. Contains a symlink?
BazziteBBazzite / 🛟bazzite-help
13mo ago
How to do SMB/NTFS shares
BazziteBBazzite / 🛟bazzite-help
8mo ago
struggling with auto mounting network shares for flatpak access
BazziteBBazzite / 🛟bazzite-help
2mo ago
Systemd SMB Mount and Automount leading to incorrect sha256sums on some files.
BazziteBBazzite / 🛟bazzite-help
16mo ago