Why do I receive error as, (39, fsync failed: Permission denied) at the time of yum update over local repository present on CIFS mount point in Red Hat Enterprise Linux ??

Solution Verified - Updated -

Issue

  • dnf fails with (39, fsync failed: Permission denied) error messages or on the repo with the CIFS filesystem
2021-12-13T12:33:13-0700 CRITICAL Error calculating checksum /root/repo/rhel-8-for-x86_64-appstream-rpms/Packages/i/isl-0.16.1-6.el8.x86_64.rpm: (39, fsync failed: Permission denied)
2021-12-13T12:33:13-0700 CRITICAL Package "isl-0.16.1-6.el8.x86_64" from local repository "rhel-8-for-x86_64-appstream-rpms" has incorrect checksum
2021-12-13T12:33:13-0700 CRITICAL Error calculating checksum /root/repo/rhel-8-for-x86_64-appstream-rpms/Packages/c/cpp-8.5.0-4.el8_5.x86_64.rpm: (39, fsync failed: Permission denied)
2021-12-13T12:33:13-0700 CRITICAL Package "cpp-8.5.0-4.el8_5.x86_64" from local repository "rhel-8-for-x86_64-appstream-rpms" has incorrect checksum
2021-12-13T12:33:14-0700 CRITICAL Error calculating checksum /root/repo/rhel-8-for-x86_64-appstream-rpms/Packages/g/gcc-8.5.0-4.el8_5.x86_64.rpm: (39, fsync failed: Permission denied)

Environment

  • Red Hat Enterprise Linux 8

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