Skip to content

vfs: resolve symlinks when checking rename descendants - #65904

Open
trivikr wants to merge 1 commit into
nodejs:mainfrom
trivikr:vfs-rename-dir-symlink
Open

vfs: resolve symlinks when checking rename descendants#65904
trivikr wants to merge 1 commit into
nodejs:mainfrom
trivikr:vfs-rename-dir-symlink

Conversation

@trivikr

@trivikr trivikr commented Sep 8, 2026

Copy link
Copy Markdown
Member

Fixes: #65903

Check resolved source and destination parent paths before renaming a directory to prevent moving it into its own subtree through a symlink.


Assisted-by: codex

Check resolved source and destination parent paths before renaming a
directory to prevent moving it into its own subtree through a symlink.

Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
Assisted-by: codex
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. vfs Issues and PRs related to the virtual filesystem subsystem. labels Sep 8, 2026
@trivikr trivikr added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. vfs Issues and PRs related to the virtual filesystem subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vfs: renaming a directory through a symlink into its descendant detaches the subtree

2 participants