Is there any way to set the default umask for the user of that Application? If so you could have it create the file with read privileges on group then add the hobbit user to that applications group. Just an idea\
Trent
-----Original Message----- From: Craig Cook [mailto:craig at cookitservices.com] Sent: Wednesday, October 18, 2006 11:47 PM To: hobbit at hswn.dk Subject: [hobbit] log permissions
Is there a way to tell hobbit to use sudo to read a log file?
I want to monitor a log file owned by root, rw for root, nothing for anyone else. It is owned by an application that rolls it and resets permissions. I don't want to mess with the app.
I can write a cron job to check and set permissions, but that is not ideal.
Thanks
Craig Cook
Systems Monitoring Consulting and Support Services http://www.cookitservices.com
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk