commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <>
Subject RE: [VFS] Problem with creating a file system manager.
Date Tue, 06 Feb 2007 17:08:57 GMT
Hi Tony,

Tony Cooke wrote:

>> Hi Tony,
> Hi Jörg.
>> I rather bet, you have an active SecurityManager that prohibits the
>> access to the file system ... ;-)
> I thought this too but I'm unsure as to what access I have to give to
> what. I haven't done too much (actually any) security through the JDK so I
> don't know what rights to give over what.

Best approach normally is to install a memory-based SecurityManager  in a
standalone app. Then you can write a unit test and add all necessary rights
programmatically unless your app works. See,r=1049/xstream/trunk/xstream/src/test/com/thoughtworks/xstream/testutil/
for reference. The necessary permissions have to be added later to the
policy file of the server though.

>> Try to enable security logs. There was a property mensioned in the JDK,
>> but I don't know by heart.
> I'm not sure what to do but I'll take a look at this and see what I can
> find. Google is my friend.
>> - Jörg
> Thanks Jörg for your help.

You're welcome.

- Jörg

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message