diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-27 18:07:15 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-19 18:16:45 +0900 |
| commit | 4d730a4dd78caa7bf29dda36fa5340a0237a8689 (patch) | |
| tree | c993dbb1ce56b6c6fb85e5dab6a5b5e411df7376 /tools/perf/scripts/python/flamegraph.py | |
| parent | 71feaa7686fb9cc08fc81c8a09d120b6204b51a0 (diff) | |
ntfs: respect per-file chmod mode over mount masks
fmask and dmask provide the default permissions for files without WSL
metadata. Once chmod stores a mode in $LXMOD, however, that per-file mode
must take precedence so selected files can retain permissions such as
execute across remounts.
Record whether $LXMOD was found while loading an inode and apply the mount
masks only when it is absent. Do not remask the in-memory mode after
setattr persists it. Continue loading $LXMOD even when optional $LXUID or
$LXGID metadata is missing, since chmod may create only $LXMOD.
Fixes: fc053f05ca28 ("ntfs: add reparse and ea operations")
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
