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

Knut Anders Hatlen commented on DERBY-6649:
-------------------------------------------

Hi Kim,
I think the PropertyPermissions should be kept. The corresponding 
FilePermissions should be removed. (The policy files have both 
PropertyPermissions and FilePermissions for java.runtime.version and 
java.fullversion. Since they are properties, the file permissions don't make 
sense, but the property permissions do.)

> Meaningless permissions granted to sysinfo.
> -------------------------------------------
>
>                 Key: DERBY-6649
>                 URL: https://issues.apache.org/jira/browse/DERBY-6649
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation, Tools
>    Affects Versions: 10.11.0.0
>            Reporter: Rick Hillegas
>            Assignee: Kim Haase
>         Attachments: DERBY-6649-doc.diff, DERBY-6649-doc.stat, 
> DERBY-6649-doc.zip, DERBY-6649-src.diff, DERBY-6649-src.stat
>
>
> The server.policy and template.policy files grant the following meaningless 
> permissions in every block related to sysinfo:
>   permission java.io.FilePermission "java.runtime.version", "read";
>   permission java.io.FilePermission "java.fullversion", "read";



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to