Is there any way to change the owner of Tomcat catalina logs from root to my current (non-root) user in an Ubuntu server?
Tomcat needs to be started using a cronjob in root. I want to avoid having to type sudo every time I want to check logs.
Sure there is. Do not run tomcat as root to begin with. This way any problem/issue in your web facing application immediately has the highest privileges possible.
If the cron job runs as root: root can drop its privileges and start processes as another user account