Cortex
Cortex copied to clipboard
cortex.service is marked executable
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"),