Skip to content

Fix symlink handling in FUSE and overlay filesystem#127

Merged
penberg merged 1 commit into
mainfrom
fix-symlink-handling
Dec 22, 2025
Merged

Fix symlink handling in FUSE and overlay filesystem#127
penberg merged 1 commit into
mainfrom
fix-symlink-handling

Conversation

@penberg

@penberg penberg commented Dec 22, 2025

Copy link
Copy Markdown
Collaborator

The FUSE handlers were using stat() which follows symlinks, causing symlinks to directories to be incorrectly reported as directories. This broke operations like rm -rf on pnpm's node_modules which uses symlinks extensively.

@penberg penberg force-pushed the fix-symlink-handling branch 4 times, most recently from 403954e to e9136c5 Compare December 22, 2025 16:06
The FUSE handlers were using stat() which follows symlinks, causing
symlinks to directories to be incorrectly reported as directories.
This broke operations like `rm -rf` on pnpm's node_modules which uses
symlinks extensively.
@penberg penberg force-pushed the fix-symlink-handling branch from e9136c5 to a76ee73 Compare December 22, 2025 16:16
@penberg penberg merged commit 46032a9 into main Dec 22, 2025
33 checks passed
@penberg penberg deleted the fix-symlink-handling branch December 22, 2025 16:56
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.

1 participant