Re: [BUG] NTFS code doesn't sanitize folder names sufficiently

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




The solution to this would be to disallow creation of files and
folders on NTFS drives containing illegal characters.

Illegal characters with respect to Windows & the like are different from Illegal characters with respect to the NTFS filesystem structure.

Looking at ntfs-3g(8) [yes, I'm aware that is a different driver that this bug is about], the section on Windows Filename Compatability says this:

      [...] all characters are
allowed except '/' and '\0'. This is perfectly legal on Windows, though some application may get confused. The option windows_names may be used to apply Windows restrictions to new file names.

To recap: no data will be lost due to using '\' in filenames. Some operating systems just may not be capable off accessing it.

--
Cody

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux