Copying a read-only file to a NFS share fails with a Read-only filesystem error

Solution Verified - Updated -

Issue

  • Copying a file with read-only permissions, i.e; r-- , to a NetApp NFS share fails with the below error :
# cp  /var/log/audit/audit.log.4 /nfs/test
cp: failed to close ‘/nfs/test/audit.log.4’: Read-only file system

Environment

  • Red Hat Enterprise Linux 7
  • NetApp NFS server

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