Displaying 1 result from an estimated 1 matches for "5e2ccf5b".
2019 Jul 16
2
Usage of chmod 400 in lld lit tests causes failures when run by root user
Hi,
There are 3 lld tests[1] that run the command `chmod 400` or `chmod u-w`
and then check that lld generates a permission denied error when trying to
write to the files. These tests fail when run as root,
because `chmod 400` is not enough to prevent root from writing to files.
Is there some other way we can tests this, or should we just not support
running tests as root?
A related question I