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

Change the tarball template check #1482

Open
dswd opened this issue Aug 17, 2017 · 0 comments
Open

Change the tarball template check #1482

dswd opened this issue Aug 17, 2017 · 0 comments

Comments

@dswd
Copy link
Contributor

dswd commented Aug 17, 2017

The current check tests whether the file ./sbin/init exists and belongs to 0/0. While the test itself is usefull, it can not be performed that way for several reasons:

  1. Depending on how the tarball is created, the path can also be sbin/init.
  2. Depending on how the tarball is created, the user can also be root/root.
  3. Depending on the OS (e.g. Debian 9) /sbin is a symlink to /usr/sbin so there is no entry for /sbin/init.
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

No branches or pull requests

1 participant