Skip to content

Commit

Permalink
Restrict permission to the .m2 subdirectory only
Browse files Browse the repository at this point in the history
  • Loading branch information
Phu2 committed Sep 14, 2023
1 parent e89c552 commit 3b589ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/.java.policy_move_to_home_dir
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ grant {

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

// Please adapt these paths to all parent paths of your user home directory
// Some Fix Code searches a .project file to determine an encoding
Expand Down

0 comments on commit 3b589ff

Please sign in to comment.