Skip to content

Conversation

@ellert
Copy link
Member

@ellert ellert commented Apr 26, 2025

For relative paths stdout/stderr are relative to the job's working directory which is writable, so the check is redundant.

The current check instead tests if the user's home directory is writable which is irrelevant. The test also creates and leaves behind a zero-length file in the user's home directory. The test also gives false failures if the user's home directory is not writable.

Fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103552

For relative paths stdout/stderr are relative to the job's working
directory which is writable, so the check is redundant.

The current check instead tests if the user's home directory is
writable which is irrelevant. The test also creates and leaves behind
a zero-length file in the user's home directory. The test also gives
false failures if the user's home directory is not writable.

Fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103552
@ellert ellert force-pushed the only-check-absolute branch from f8ee18a to c6c0a07 Compare April 26, 2025 03:48
Copy link
Member

@msalle msalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

@ellert ellert merged commit 6a0e8c4 into gridcf:master Apr 28, 2025
6 checks passed
@ellert ellert deleted the only-check-absolute branch April 28, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants