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:user-00a5e44c48c0@xymon.invalid]
Sent: Sonntag, 11. Jänner 2009 20:27
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] file monitoring permission problems
On Sun, Jan 11, 2009 at 1:05 PM, L.M.J <user-78bb6d5d9024@xymon.invalid> wrote:
Le Sun, 11 Jan 2009 13:12:20 +0100,
"Chris" <user-024af9c96b49@xymon.invalid> 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