-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect default cache directory permission on z/OS Java 11+ #19328
Comments
@hangshao0 any updates on this? |
A Pull Request will be created this week. |
hangshao0
added a commit
to hangshao0/openj9
that referenced
this issue
May 23, 2024
SCC is enabled by default when -Xshareclasses is not specified in the CML. cacheDirPerm should be set to J9SH_DIRPERM_ABSENT in this case. Closes eclipse-openj9#19328 Signed-off-by: Hang Shao <[email protected]>
hangshao0
added a commit
that referenced
this issue
May 28, 2024
SCC is enabled by default when -Xshareclasses is not specified in the CML. cacheDirPerm should be set to J9SH_DIRPERM_ABSENT in this case. Closes #19328 Signed-off-by: Hang Shao <[email protected]>
pshipton
pushed a commit
to pshipton/openj9
that referenced
this issue
May 28, 2024
SCC is enabled by default when -Xshareclasses is not specified in the CML. cacheDirPerm should be set to J9SH_DIRPERM_ABSENT in this case. Closes eclipse-openj9#19328 Signed-off-by: Hang Shao <[email protected]>
hangshao0
added a commit
to hangshao0/openj9
that referenced
this issue
May 28, 2024
SCC is enabled by default when -Xshareclasses is not specified in the CML. cacheDirPerm should be set to J9SH_DIRPERM_ABSENT in this case. Closes eclipse-openj9#19328 Signed-off-by: Hang Shao <[email protected]>
hangshao0
added a commit
to hangshao0/openj9
that referenced
this issue
May 28, 2024
SCC is enabled by default when -Xshareclasses is not specified in the CML. cacheDirPerm should be set to J9SH_DIRPERM_ABSENT in this case. Closes eclipse-openj9#19328 Signed-off-by: Hang Shao <[email protected]>
AswathySK
pushed a commit
to AswathySK/openj9
that referenced
this issue
Jun 4, 2024
SCC is enabled by default when -Xshareclasses is not specified in the CML. cacheDirPerm should be set to J9SH_DIRPERM_ABSENT in this case. Closes eclipse-openj9#19328 Signed-off-by: Hang Shao <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On z/OS, the default cache directory is
/tmp/javasharedresources/
. The default permission for this directory is 0777 on Java 8. We will always change it to 0777 after creation (seeperms =
in tracej9prt.124
):On Java 11+, OpenJ9 only changes the permission to 0777 after creation if -Xshareclass is specified:
On Java 11+, if -Xshareclass is not specified (SCC enabled by default), the permission is not changed to 0777, which is incorrect:
The text was updated successfully, but these errors were encountered: