I'm running a java tool as a command line app using cronjob:
java -jar /var/java/-myfile.jar
By default I'm using
logback and write to
Problem: the user running the jar has no permissions to write to the
That folder has only permissions to `root syslog'.
Question: should I run the jar as
sudo? Or should I give the running user write permissions to that folder? If yes, how?