• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubernetes-csi / csi-driver-nfs / 21613937321
78%
master: 78%

Build:
Build:
LAST BUILD BRANCH: copilot/fix-nfs-mount-permissions
DEFAULT BRANCH: master
Ran 03 Feb 2026 02:27AM UTC
Jobs 1
Files 10
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Feb 2026 02:05AM UTC coverage: 78.439% (+0.6%) from 77.866%
21613937321

Pull #1032

github

Copilot
Fix mountPermissions applied to NFS root instead of subdirectory

When NodePublishVolume is called during CreateVolume's internal mount,
it mounts the NFS base share without the subdirectory. Previously, it
would apply chmod to this mount point (the NFS root), which is incorrect.

The fix: Only apply chmod in NodePublishVolume when subDir is present.
When subDir is empty (internal mount case), CreateVolume handles the
chmod after creating the subdirectory.

This ensures mountPermissions is correctly applied to the volume's
subdirectory, not the NFS server's root directory.

Fixes issue where mountPermissions was incorrectly applied to root.

Co-authored-by: andyzhangx <4178417+andyzhangx@users.noreply.github.com>
Pull Request #1032: Fix mountPermissions applied to NFS root instead of subdirectory

6 of 6 new or added lines in 1 file covered. (100.0%)

1186 of 1512 relevant lines covered (78.44%)

25.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21613937321.1 03 Feb 2026 02:27AM UTC 10
78.44
GitHub Action Run
Source Files on build 21613937321
  • Tree
  • List 10
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1032
  • PR Base - master (#21613716087)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc