pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "simon steiner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-3145) Security manager fails for .pdfbox.cache
Date Tue, 01 Dec 2015 18:46:11 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15034336#comment-15034336
] 

simon steiner commented on PDFBOX-3145:
---------------------------------------

I enabled the security manager, it wont have read/write access to the filesystem

> Security manager fails for .pdfbox.cache
> ----------------------------------------
>
>                 Key: PDFBOX-3145
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3145
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: simon steiner
>            Assignee: John Hewson
>             Fix For: 2.0.0
>
>
> Caused by: java.security.AccessControlException: access denied ("java.io.FilePermission"
"/home/simon/.pdfbox.cache" "read")
> 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:457)
> 	at java.security.AccessController.checkPermission(AccessController.java:884)
> 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
> 	at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
> 	at java.io.File.exists(File.java:814)
> 	at org.apache.pdfbox.pdmodel.font.FileSystemFontProvider.loadDiskCache(FileSystemFontProvider.java:357)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message