-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aziz,

Aziz Yacoub wrote:
> I'm using security manager with Tomcat 4.1.36 on NetWare 6.5 sp7.
> 
> The policy file includes:
> 
> grant {
>   permission java.io.FilePermission "\\SERVER1\VOL1\Photos", "read,
> write, delete";
> };
> 
> which as I understand gives full access for \\SERVER1\VOL1\Photos to all
> web apps.
> 
> But I still get:
> org.apache.jasper.JasperException: access denied (java.io.FilePermission
> \\SERVER1\VOL1\Photos read)
> 
> Is there anything else I need to do? I've also tried granting access
> using VOL1:/Photos but with the same result.

Are you running Tomcat as a service? If so, the user Tomcat runs as
probably does not have read access to the resource. The SecurityManager
just tells the JVM what the application is willing to tolerate: it does
not instruct the operating system to elevate privileges.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHSxdP9CaO5/Lv0PARAr22AJsHu/Pw3itskeAJ075DNhNU/ELVwACgsO7C
ENpxHgR0u71U0aNXbX1BteQ=
=W+/I
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to