Hello All,
Here is the situation. There is an jvm on a linux fileserver. There is
another app that is going to connect to this jvm (all RMI) and using java IO
to create directories and files. Now one user will create his own
directories and will eventually disconnect. Another user will connect with
another instantace of the external app and use the same JVM to create
directories and files of his own and obviously we want the permissions to
match the users for security reasons. Now if the jvm is started by user X do
all teh files created by the JVM with java io have the permissions of user
X? What they are doing now is using novell which has some user and
permission classes that lets them set user and file premissions. I
suggested creating a JNI wrapper for some basic unix functions but then I
thought that the JVM would always run as root which is bad. We could start
the jvm up under a different user every time that someone connects with the
external app but that is not very efficient. I simply don't know how to do
this on linux. Any help you may offer is greately appreciated and will
result in many linux servers being put into place. thanks for taking the
time to reed my post.
Joel Dudley
Unix System Administrator
DevelopOnline.com
----------------------------------------
"For the scientist who has lived by his faith in the power of reason, the
story ends like a bad dream. He has scaled the mountains of ignorance; he is
about to conquer the highest peak; as he pulls himself over the final rock,
he is greeted by a band of theologians who have been sitting there for
centuries."
- Dr. Robert Jastrow, Founder Goddart Space Flight Institute
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]