2014-12-01 10:20 GMT+01:00 Dmitrij D. Czarkoff <czark...@gmail.com>: > pizdel...@gmail.com said: > > How do you 'enforce' NFD? > > > > Let the kernel normalize (ie /destructively/ transform) the file names > > behind user's back, so that a file will be listed with a different name > > than that with which it was created? That's very nice and secure, indeed. > > I would enforce normalization at filename access time (open(), fopen(), > readdir(), etc). Yes, destructively transform. I would reject > filenames that won't decode. If this is documented, I just don't see > how it is "behind user's back", and it at least partially solves the > problem of accessing right files. >
I don't know if I read this wrong, but a "new" list of rules on how a filename can and must look would override the current allowed charsets and mangle names that my programs would want to write? No please. -- May the most significant bit of your life be positive.