[libcxx-commits] [PATCH] D97538: [libcxx] [test] Ifdef out tests that rely on perms::none on directories for triggering errors
Marek Kurdej via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Mar 8 00:20:11 PST 2021
curdeius added a comment.
Unfortunately I haven't found anything really satisfying that will provoke this or similar behaviour on Windows without, as Adrian noted, accessing other user's folder or changing ACLs.
Funnily, I had the very same problem in one of my projects just last week.
Anyway, speaking of `C:\Users\SomebodyElse` and stuff. That's not really nice to do some setup using a different user.
But if we used an already existing directory to which a normal user does not have access rights?
E.g. a normal user cannot write to `C:\Users\Default`.
Also, one cannot traverse nor read the contents of `C:\System Volume Information` and this folder always exists (at least for Windows 7+, Server 2012+, probably even Server 2008). Maybe this would make the trick, at least for some tests?
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the libcxx-commits