1
java.security.AccessControlException: access denied ("java.util.PropertyPermission" "user.dir" "read")
2
java.security.AccessControlException: access denied ("java.io.FilePermission" "foo" "read")
3
java.security.AccessControlException: access denied ("java.io.FilePermission" "foo" "write")