-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Description
tee has started failing its GNU test in the CI, when it had been passing on the main branch. See, e.g., #7765 (comment), #7801 (comment), #7799 (comment). Relevant test output is:
FAIL: tests/misc/tee
====================
tee: file.ro: Permission denied (os error 13)
FAIL tests/misc/tee.sh (exit status: 1)
The relevant part of the test script is, in a nutshell, doing touch file.ro && chmod a-w file.ro && tee -p </dev/null file.ro, expecting exit status 1 (EPERM, operation not permitted). Since this test is passing on my and others machines, I suspect this is the CI environment changing something to return exit status 13 (EACCESS, permission denied). Not sure why this is happening, since we do have permission access to the file (presumably), just not permission to write to it.
BenWiederhake