Gzip gives "operation not permitted" errors on smb/cifs mounts

Solution Unverified - Updated -

Issue

  • Using gzip and gunzip on cifs/smb filesystem gives "Operation not permitted"
    [testuser2@rhel8-10 ~]$ gzip /mnt/testuser1-testfile1
    gzip: /mnt/testuser1-testfile1.gz: Operation not permitted
    gzip: /mnt/testuser1-testfile1.gz: Operation not permitted

Environment

  • Red Hat Enterprise Linux
  • SMB/CIFS mounts using the uid= mount option

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