RFR: 8311631: When multiple users run tools/jpackage/share/LicenseTest.java, Permission denied for writing /var/tmp/*.files

Alexey Semenyuk asemenyuk at openjdk.org
Wed Jul 12 01:41:11 UTC 2023


On Fri, 7 Jul 2023 09:51:23 GMT, yaqsun <duke at openjdk.org> wrote:

> The prerequisite is to install the rpmbuild command, when multiple users switch to write /var/tmp/*.files will have the permission forbidden.

I believe the problem is the use of `%{_tmppath}` for the root of intermediate files. Should be changed to `%{_builddir}` or some other user-specific directory

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14802#issuecomment-1631722800


More information about the core-libs-dev mailing list