Closed gjanders closed 1 year ago
In my copy the others are 664
@gjanders Thank you for reporting this issue. The team is taking a look.
@ncanumalla-splunk thanks for the reply. Perhaps this check could be automated or send it via appinspect which would definitely find the issue :)
@gjanders Our team hasn't changed the file permissions in the SDK and doesn't handle updating them. It depends on the way the SDK is packaged with the app. You have the option to move the SDK into /bin
. Also, we recommend you install the SDK using pip
in which case the file permissions are 664. Hope that helps.
@ncanumalla-splunk refer to https://github.com/splunk/splunk-sdk-python/releases/tag/1.7.2
Or this picture:
Perhaps your packaging system has an issue then? The releases are created on this github and that is the .tar.gz from tag 1.7.2
@gjanders Thank you very much for pointing this out in the Github release. We will look into fixing this and also check on our packaging/release process. cc: @ashah-splunk
As per the image, it's actually in the master branch...I'll send in a pull request
@gjanders thanks for the PR, we are also looking into options to prevent such file permission changes in future. We will be merging the change soon. Also we have modified the PR with base branch to develop as per the process. Changes will be available in the master branch once new SDK is released.
Thanks for updating the PR
new PR ref - #493
@gjanders fix is available in the Python SDK latest release v1.7.3. Request you to pull the latest release.
The issue is the permissions of the file: lib/splunklib/modularinput/event_writer.py
-rwxr-xr-x 1 user None 2878 Sep 22 20:09 event_writer.py
So 755 will not pass appinspect, this file should be 644 like all the other files...