Hi Jochen,
A few questions to help me understand what may be the problem...
First, are you using java.io.File to send a file to a remote RMI method? Or is this your own implementation of something that represents a file? I guess my main question is, is it important that what you are sending is a "file" and not just the contents of the file? It may be easier to just use streams and send the contents of the file.
Second, you mentioned (in your PM) that you are creating a FilePermission object like this -
How are you setting this permission so that it can be used? I'll admit up front that I haven't looked a lot into the security architecture of
Java, but I don't think that you can set up permissions dynamically in a method like that... (Unless you've implemented your own security manager or something...) I thought they had to be set up using a policy file on the command line?
-Nate