[#13106] - Keystore files have wrong permissions

Category:
Bug report
Priority:
High
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

Keystore files have wrong permissions after creation, when the same user exists in two domains.

Environment:
Windows Server 2016, Jasper Server 7.5 war file distribution, PostgreSQL

Two users exist:
ADOMAIN/test
BDOMAIN/test

BDOMAIN/test has a trust to ADOMAIN.

Delete old keystore files. Execute js-ant.bat set-minimal-mode in the buildomatic directory as user BDOMAIN/test.

I would expect:

icacls .jrsks
BDOMAIN\test:(R,W,D)

But get this:
icacls .jrsks
ADOMAIN\test:(R,W,D)

It looks like a bug in com.jaspersoft.jasperserver.crypt.CryptoUtil createFile.

v7.5.0
build
ANPY's picture
59
Joined: Apr 5 2013 - 1:55am
Last seen: 10 months 4 weeks ago
Feedback