users@glassfish.java.net

Re: How to set permissions to allow 'exec' of /usr/bin/chmod

From: <glassfish_at_javadesktop.org>
Date: Fri, 06 Mar 2009 01:58:10 PST

Erm yes. I think I do need to add a permission grant to the server.policy file.

My problem is just what should I add to the server.policy file!!

My belief is that the file /usr/bin/chmod is already executable.

What I want to do is to allow my app deployed in a sun application server to execute programs such as chmod chown and so on in a UNIX shell.

What is the format of the permission grant or grants?
[Message sent by forum member 'greengrass1234' (greengrass1234)]

http://forums.java.net/jive/thread.jspa?messageID=335477