Loading Posts...

mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

This error was appeared in one of the Linux Ubuntu Server when I was trying to mount a Windows File Share to save some files.

The fix to the issue was quite an easy task, but can be a time consuming work when you are running with a busy schedule. I thought to share this with my followers and I hope this will help you to save some valuable time for your work.

I was trying to mount the File Share with the below command.

I forgot to add “sec=ntlmssp” parameter to the command, so the complete command would be something similar to this.

Sample Command which I executed when I connect Azure File Share to an Ubuntu Server.

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

What Is “sec=ntlmssp”

sec” is the security mode and it define how the passwords are encrypted between Client and the Server.

ntlmssp” stands for “NT LAN Manager Security Support Provider” is the binary messaging protocol for a Microsoft Security Support Provider Interface (MSSPI). It is the stream which provide the NTLM challenge-response authentication for the communication.

NTLMSSP is used when there is a SSPI authentication for SMB (Server Message Block) or CIFS (Common Internet File System) access in place.

mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
5 (100%) 12 votes

Aruna Lakmal

Associate Technical Lead at Pearson, Sri Lanka. Technology junky, enthusiast, a VMware vExpert and a blogger with more than 6 years of Experience in Information Technology more focusing on VMware Virtualization, Microsoft and Datacenter Technologies.

Get Updates Directly To Your Inbox!

   

Leave a Reply

Loading Posts...