The zip utility has problems when writing to a CIFS share
Issue
- The zip utility has problems with error on cifs share:
$ zip /mnt/cifs/testfile.zip testfile.txt
adding: testfile.txt (stored 0%)
zip warning: new zip file left as: /mnt/cifs/zi2jhwAg
zip I/O error: No such file or directory
zip error: Could not create output file (was replacing the original zip file)
Environment
- Red Hat Enterprise Linux 9.5.z
- Red Hat Enterprise Linux 9.6.z
- Seen on
kernel-5.14.0-570.19.1.el9_6
- Seen on
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.