vfs: make lchown update symlink metadata#64573
Open
trivikr wants to merge 1 commit into
Open
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #64573 +/- ##
==========================================
- Coverage 90.25% 90.23% -0.03%
==========================================
Files 739 739
Lines 241772 241796 +24
Branches 45571 45577 +6
==========================================
- Hits 218204 218174 -30
- Misses 15109 15157 +48
- Partials 8459 8465 +6
🚀 New features to boost your workflow:
|
trivikr
force-pushed
the
vfs-lchown-symlinks
branch
from
July 18, 2026 15:22
5518b6e to
130b7b1
Compare
Route mounted lchown operations through VFS lchown handling and add memory provider support that does not follow the final symlink. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5
trivikr
force-pushed
the
vfs-lchown-symlinks
branch
from
July 18, 2026 19:40
130b7b1 to
afee66e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #64572
This PR fixes VFS
lchown()handling so ownership changes applyto the symbolic link itself instead of following the link and modifying
its target.
It routes synchronous and asynchronous
lchownoperations throughdedicated VFS and provider handling, adds memory-provider support
that does not follow the final symlink, and preserves fallback behavior
for providers that do not override
lchownSync().Assisted-by: openai:gpt-5.5