permission: handle case-sensitive file systems
Fixes #47105 (closed)
This PR introduces a new cli flag that allows the user to explicitly set how FSPermission will handle the paths (case-sensitive or not).
As previously discussed, this also shows a feature limitation since you can mount a file system using a custom configuration (case-sensitive on /home/user1
and case-insensitive on /home/user2
). However, this will be categorized as a known limitation and is likely to be discussed at https://github.com/nodejs/security-wg/issues/898 when enabling per-file configuration.