Skip to content

Fix writable check for NFS/ACL filesystems#348

Merged
tien-tong merged 1 commit intoPennLINC:mainfrom
asmacdo:fix-nfs-writable-check
Mar 18, 2026
Merged

Fix writable check for NFS/ACL filesystems#348
tien-tong merged 1 commit intoPennLINC:mainfrom
asmacdo:fix-nfs-writable-check

Conversation

@asmacdo
Copy link
Copy Markdown
Collaborator

@asmacdo asmacdo commented Mar 18, 2026

os.access() is unreliable on NFS and ACL-based filesystems. Use tempfile.TemporaryFile() to actually try write access.

os.access() is unreliable on NFS and ACL-based filesystems. Use
tempfile.TemporaryFile() to actually test write access.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 79.34%. Comparing base (d945730) to head (31d87a9).

Files with missing lines Patch % Lines
babs/bootstrap.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #348      +/-   ##
==========================================
+ Coverage   79.30%   79.34%   +0.04%     
==========================================
  Files          16       16              
  Lines        1841     1845       +4     
  Branches      312      311       -1     
==========================================
+ Hits         1460     1464       +4     
- Misses        266      267       +1     
+ Partials      115      114       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tien-tong tien-tong merged commit 56ac737 into PennLINC:main Mar 18, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants