PaloAltoNetworks / SafeNetworking

Read only mirror. To contribute or submit issues, please go to the website link --->
https://gitlab.com/panw-gse/as/SafeNetworking/
Apache License 2.0
12 stars 10 forks source link

sfn.log written as root when run as a service #84 #20

Closed punisherVX closed 5 years ago

punisherVX commented 6 years ago

Expected behavior and actual behavior.

sfn.log files are written to as root:root and requires running sfn under sudo if trying to debug otherwise sfn will not start. Need to have logs written as install user so if debug run is needed it doesn't need to run under sudo

Steps to reproduce the problem.

Run sfn as service in v2.0.3

Specifications like the version of the project, operating system, or hardware.

Requirements met

https://github.com/PaloAltoNetworks/safe-networking-sp/issues/84

punisherVX commented 6 years ago

This needs to be revisited when we force the users to have a particular username that runs the application. Right now, that is not necessary and we have to decide on whether we want to do that, or just have this log file written as root - which isn't a big deal.

punisherVX commented 5 years ago

We have removed the service for now. Closing