-
Notifications
You must be signed in to change notification settings - Fork 91
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
Still some wrong permissions vs. shebang #463
Comments
Hm, I re-added the shebang together with the executable bit to these files as proposed by @jmcgeheeiv. In the commit for all files is shown |
This is what I get (admittedly this is under Windows, but the permissions shall be the same):
This looks ok to me, so I'm a bit lost here... |
Ok, just to be sure, did the same under Ubuntu, with the same result. |
Thanks for investigating. I've looked somewhat into this, and can confirm that the permissions for those files are correct in the release tarbal itself. However, when using setuptools they are considered to be data files and will be copied/moved into place with I think you have multiple options here:
|
Ok, thanks - distributing the tests has been an request, and seems to be more or less the default now, so I think we will retain this. Fixing the permissions using setuptools sounds like a plan, I will look into this later. |
After reading up a bit about this it seems that there is no really clean solution here. I'm inclined to remove the shebang again instead... @jmcgeheeiv - what do you think? |
Backing up a bit, how is it that these files are being considered data files? The purpose of setuptools is to install executable software, so I am surprised that executable files are difficult to handle. |
Well, there is actually the possibility to use |
Indeed |
Shall I remove the shebang in that case? I think that usually the tests are not run as a standalone script, anyway. |
Yes, let's eliminate this issue in the most expedient manner possible. |
Ok, I backed out the respective commit. |
I just found another reference that can guide us--nose wants the test files to be not executable:
So, nose agrees that the test files should be not executable, and therefore should not contain a shebang. |
@kbabioch - the warning still seems to appear in the SLE_12_SP4 build, but not in the other builds with the latest version - have you any idea why this might happen? |
I'm sorry, I have no insight into SLE.
…On Sat, Feb 16, 2019 at 8:12 AM mrbean-bremen ***@***.***> wrote:
@kbabioch <https://github.com/kbabioch> - the warning still seems to
appear in the SLE_12_SP4 build, but not in the other builds with the latest
version - have you any idea why this might happen?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#463 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADjLAfoBiOtMwTZ3uC2P5LQSyEYhGwbyks5vOC3XgaJpZM4Z9SEU>
.
|
Ok, just noticed that the warning for the SLE_12 build is not the original problem, but another one:
I think we can ignore this, as this seems to be specific to this version and not a regression. |
@mrbean-bremen This problem is not related to yours. It is an RPM packaging issue. I will address it, once I touch the package again. Thank you once again for all the love you put into this ;-). |
Describe the bug
#461 is still not totally resolved. With the latest release (4.5.6) these files are still broken:
How To Reproduce
Check shebang lines and/or executable bits on those files.
Your enviroment
Does not matter.
The text was updated successfully, but these errors were encountered: