Fix resolution-err.ll

chmod tries to be very helpful on some platforms and prevent naive mistakes, by warning the user. This results in the following error during the test:

```chmod: ...resolution-err.ll.tmp.resolution.txt: new permissions are r--rw-rw-, not r--r--r--```

To fix the test, call chmod with u.

Differential Revision: https://reviews.llvm.org/D100417

GitOrigin-RevId: bcef28621a877805a17be2e36ddb35c4aca6609d
diff --git a/test/ELF/lto/resolution-err.ll b/test/ELF/lto/resolution-err.ll
index ae073aa..6dfa64b 100644
--- a/test/ELF/lto/resolution-err.ll
+++ b/test/ELF/lto/resolution-err.ll
@@ -2,7 +2,7 @@
 ; REQUIRES: shell
 ; RUN: llvm-as %s -o %t.bc
 ; RUN: touch %t.resolution.txt
-; RUN: chmod -w %t.resolution.txt
+; RUN: chmod u-w %t.resolution.txt
 ; RUN: not ld.lld -save-temps %t.bc -o %t 2>&1 | FileCheck -DMSG=%errc_EACCES %s
 ; RUN: rm -f %t.resolution.txt