Skip to content

Commit

Permalink
Merge #139 from branch '133-restrictFilePermissions' of https://githu…
Browse files Browse the repository at this point in the history
  • Loading branch information
dr0i committed Sep 29, 2023
2 parents 0ecd6b0 + 330eff0 commit 83109c5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion resources/.java.policy_move_to_home_dir
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,15 @@ grant {

// permissions for metafacture playground

permission java.io.FilePermission "${user.dir}/-", "write, read, delete";
permission java.io.FilePermission "schemata/metamorph.xsd", "read";
permission java.io.FilePermission "morph-functions.properties", "read";
permission java.io.FilePermission "morph-collectors.properties", "read";
permission java.io.FilePermission "morph-maps.properties", "read";

permission java.io.FilePermission "${user.dir}/project.clj", "read";
permission java.io.FilePermission "${user.dir}/resources/-", "read";
permission java.io.FilePermission "${user.dir}/tmp", "write, read, delete";
permission java.io.FilePermission "${user.dir}/tmp/-", "write, read, delete";
permission java.io.FilePermission "${java.io.tmpdir}/-", "write, read, delete";
permission java.io.FilePermission "${user.home}/.m2/-", "read";

Expand Down

0 comments on commit 83109c5

Please sign in to comment.