Attempting to mount CIFS share results in error "mount: cannot mount block device //server/share read-only"

Solution Verified - Updated -

Issue

  • Unable to mount CIFS share via command line, for example:
# mount -t cifs //levi-examplebox/share /mnt/levi -o user=eren,password=password,domain=scout
mount: block device //levi-examplebox/share is write-protected, mounting read-only
mount: cannot mount block device //levi-examplebox/share read-only

# mount -vvv -t cifs -o credentials=/tmp/credentials //CIFS-Server/CIFS-Share /mnt/point
mount: /mnt/point: cannot mount //CIFS-Server/CIFS-Share read-only.

Environment

  • Red Hat Enterprise Linux (all versions)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content