RFR: JDK-8299994: java/security/Policy/Root/Root.java fails when home directory is read-only

Rajan Halade rhalade at openjdk.org
Tue Jan 31 22:50:51 UTC 2023

On Tue, 31 Jan 2023 22:35:21 GMT, Bill Huang <bhuang at openjdk.org> wrote:

> Root.java is changed to a manual test because it requires test to be run with the root user privilege, and it requires to modify the user policy file in the home director.

test/jdk/java/security/Policy/Root/Root.java line 34:

> 32: 
> 33: /*
> 34: * Run test as root user.

Can you print set of instructions to run test as root? Also it will help if test fails when not run as root to begin with.


PR: https://git.openjdk.org/jdk/pull/12354

More information about the security-dev mailing list