TheHive-Project / TheHive-Project/Cortex
cortex.service is marked executable
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.6k
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description
Request Type
Bug
Work Environment
| Question | Answer |
|---|---|
| OS version (server) | RedHat, 7 |
| OS version (client) | Windows 10 |
| Cortex version / git hash | 3.1.1 |
| Package Type | Repo-File |
Problem Description
Describe the problem/bug as clearly as possible.
OS system warning message for cortex.service script:
cortex.service is marked executable. Please remove executable permission bits.
Steps to Reproduce
[root@xxxxxxx ~]# ls -al /etc/systemd/system/cortex.service
-rwxr-xr-x. 1 root root 796 Oct 30 2020 /etc/systemd/system/cortex.service
Possible Solutions
Change the permissions for cortex.service when already installed:
root@xxxxxxx ~]# chmod 644 /etc/systemd/system/cortex.service
Set the permissions within the build process (package.sbt):
packageMapping(
file("package/cortex.service") -> "/etc/systemd/system/cortex.service").withPerms("644"),
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect package.sbt and the package/cortex.service file, starting with the packageMapping entry described in the issue. Build the repository package and verify that the installed /etc/systemd/system/cortex.service has 644 permissions; done means the executable permission warning is gone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- build-system, infrastructure
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100