Index: clang/test/Misc/permissions.cpp =================================================================== --- clang/test/Misc/permissions.cpp +++ clang/test/Misc/permissions.cpp @@ -1,5 +1,9 @@ // REQUIRES: shell +// Disable ACL for the output folder, otherwise umask below will have no effect. +// RUN: setfacl -bn %T +// RUN: chmod -R o+rx %T + // RUN: umask 000 // RUN: %clang_cc1 -emit-llvm-bc %s -o %t // RUN: ls -l %t | FileCheck --check-prefix=CHECK000 %s