[hobbit] file monitoring permission problems

chris chris at spw.info
Tue Jan 13 20:45:09 CET 2009


Thanks for your suggestions.

 

Adding the hobbit user to the oracle group is unfortunately not an option,
as the permissions do not even give the group permission to the directory,
but only the owner itself.

 

When you suggest running a script as oracle from cron, I presume that we are
talking outside of the hobbit environment, or is there still a way to keep
server side configuration, etc?

 

  _____  

From: Ralph Mitchell [mailto:ralphmitchell at gmail.com] 
Sent: Sonntag, 11. Jänner 2009 20:27
To: hobbit at hswn.dk
Subject: Re: [hobbit] file monitoring permission problems

 

On Sun, Jan 11, 2009 at 1:05 PM, L.M.J <linuxmasterjedi at free.fr> wrote:

Le Sun, 11 Jan 2009 13:12:20 +0100,
"Chris" <chris at spw.info> a écrit :


> This is confirmed when looking into the client data sent to the server:
>
> [file:/opt/oracle/product/j2ee/applications/appl.ear]
> ERROR: Permission denied
>
> Is there an easy workaround without having to change file permissions, eg.
> running the file tests with sudo?

You can add the user "hobbit" to the oracle unix group. I think it's the
fastest and simplest way
to fix your issue.


That also reduces your database security, and I'll bet your DBAs wouldn't
allow it.  Better to have the oracle account run the script from cron and
pick up the output from a neutral location.

Ralph Mitchell

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090113/7e8e99dd/attachment.html>


More information about the Xymon mailing list