Re: [REGRESSION] ntfs3: existing files/dirs with ':' in their name became inaccessible in 7.3 (ads on by default)

From: Clément Smagghe

Date: Tue Nov 17 2026 - 17:27:27 EST


On Tuesday, Nov 17, 2026 at 8:29 PM, Hungyu Lin <dennylin0707@xxxxxxxxx> wrote :
>
> On Sat, Nov 14, 2026 at 7:43 AM Clément Smagghe <cle.smagghe@xxxxxxxxx> wrote:
>
> I sent a fix that makes 'ads' opt-in again:
> https://lore.kernel.org/all/20261115103845.56074-1-dennylin0707@xxxxxxxxx/
>
> Could you reply with your Tested-by if it works for you?

Hi Hungyu,

Thanks a lot for the quick fix. Your patch doesn't apply as-is to
v7.3.4 (the context line 'opts->ugm = 1;' only exists in 7.4), so I
applied the same one-line removal on top of v7.3.4, rebuilt the ntfs3
module with the Arch config and tested on the affected volume:

- mounted without any 'ads' option: 'ads' no longer shows up in the
mount options, both existing directories with ':' in their name can
be stat'ed again, and a new directory with ':' in its name can be
created, stat'ed, renamed and removed;
- mounted with an explicit 'ads' option: ADS mode is enabled and
shown in the mount options as before.

Tested-by: Clément Smagghe <cle.smagghe@xxxxxxxxx>

A minor, non-blocking suggestion: Documentation/filesystems/ntfs3.rst
says every option can be negated with a "no" prefix, but 'noads' is
rejected (only 'ads' / 'ads=<bool>' are registered). Accepting
'noads', or at least documenting 'ads=0', would avoid confusion. Not
a blocker for this fix, though.

Thanks again,
Clément