Back to TIL
shell

cifs_mount failed w/return code = -13

While wanting to mount a Synology Samba Share on a new Ubuntu VM, I encountered the error message in the title when looking at the dmesg output:

[   71.526303] CIFS: Attempting to mount //<share ip>/folder
[   71.558354] CIFS: VFS: cifs_mount failed w/return code = -13

The solution to my problem was to install cifs-utils. I forgot that this isn’t installed by default.

Fun thing is that -13 usually means “Permission denied”. Everyone and your favorite LLM swear so. Not in my case.