gzip fails with EACCES (Permission denied) on Netapp NFS export mounted on RHEL NFS client

Solution Verified - Updated -

Issue

  • Attempting a gzip operation on an NFS mount fails with:

    gzip: FILENAME: Permission denied
    
  • gzip under strace shows:

    open("file.gz", O_WRONLY|O_CREAT|O_EXCL, 0600) = -1 EACCES (Permission denied)
    

Environment

  • Red Hat Enterprise Linux 5.10 (NFS client)
  • Netapp filer (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