Cortex icon indicating copy to clipboard operation
Cortex copied to clipboard

cortex.service is marked executable

Open marpoe opened this issue 3 years ago • 0 comments

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"),

marpoe avatar May 31 '21 07:05 marpoe