Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Check]: tar invocations without -f / --file #704

Open
1 task done
floppym opened this issue Sep 24, 2024 · 0 comments · May be fixed by #709
Open
1 task done

[New Check]: tar invocations without -f / --file #704

floppym opened this issue Sep 24, 2024 · 0 comments · May be fixed by #709
Assignees
Labels

Comments

@floppym
Copy link
Contributor

floppym commented Sep 24, 2024

Is there an existing such new check request for this?

  • I have searched the existing issues

Explain

The tar command defaults to reading from stdin, unless this default is changed at compile time or the TAPE environment variable is set.

To ensure consistent behavior, the -f or --file option should always be given to ensure the input device is chosen explicitly.

Examples

https://bugs.gentoo.org/940201

Output message

No response

Documentation

No response

Result level

None

@floppym floppym added the check label Sep 24, 2024
@arthurzam arthurzam self-assigned this Oct 2, 2024
arthurzam added a commit to arthurzam/pkgcheck that referenced this issue Oct 21, 2024
The ``tar`` command defaults to reading from stdin, unless this default is
changed at compile time or the ``TAPE`` environment variable is set.

To ensure consistent behavior, the ``-f`` or ``--file`` option should
always be given to ensure the input device is chosen explicitly.

Resolves: pkgcore#704
Signed-off-by: Arthur Zamarin <[email protected]>
@arthurzam arthurzam linked a pull request Oct 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants