We have an custom app which contains just props and transforms configs...
When we try to upload app.tgz file. it throws below failures
Need some insights on this.
This file has execute permissions for owners, groups, or others. File: default/transforms.conf
This file has execute permissions for owners, groups, or others. File: metadata/default.meta
This file has execute permissions for owners, groups, or others. File: default/props.conf
This file has execute permissions for owners, groups, or others. File: default/app.conf
I could resolve this issue following package app method explained in this link.
Package apps | Documentation | Splunk Developer Program
@richgalloway thanks for the solution..
I tried to change the mode in linux box. I see these failures. Any idea on this?
It looks like the app was not re-packaged properly on the Linux box. Perhaps an extra directory level was added.
Vetting apps is an iterative process. You fix errors, re-package and re-submit then see what new errors are reported. Repeat the process until the app passes.
Most error messages are fairly self-explanatory. You can find some helpful information about them at https://dev.splunk.com/enterprise/reference/appinspect/appinspectcheck/
As for file permissions, directories should be set to 644 and other files to 600.
Don't use Windows to package apps for Splunk Cloud. This will happen every time. The only workaround is to package on a Linux box or a Mac. You don't have to have Splunk installed on it. Just transfer the .tgz file, explode it, fix the permissions, and re-tar it.
I had to set 744 permissions for folders, that solved my issue