-
Notifications
You must be signed in to change notification settings - Fork 87
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
cannot launch jnlp on windows due to exception while creating native storage directory #955
Comments
that is definitely an issue with WIN_ROOT_PRINCIPALS because the names a translated (on my system in german). Here are my notes:
|
Hello, Comparing SID values should avoid such localization issues, but it seems there is no simple solution available with the Java SDK to get SID values instead of identity names (see https://stackoverflow.com/questions/7118290/how-to-convert-the-sid-to-string-and-vice-versa-in-java). Moreover I can also see that on the Windows configuration deployed by my company, when IcedTea-Web creates a folder in %TEMP%, there is no explicit ACL set for the owner (i.e. my personal account). Instead there is an ACL set for "Authenticated Users" (SID S-1-5-11, see https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-special-identities-groups#authenticated-users). And unfortunately, when IcedTea-Web filters the ACLs, it removes the one set for "Authenticated Users" (SID S-1-5-11) because it is not white-listed in the variable Fixing the localization issue and white-listing "Authenticated Users" (SID S-1-5-11) would help a lot. Thanks. |
Hello, It will not fix the principle name issue for systems/user sessions configured not to use English, but at least it will ensure that the owner doesn't lose his permissions. Thanks. |
@AlBundy33 thanks for reporting this. I would like you to test a fix before I release it. Please send me a mail at [email protected] |
for details see karakun/OpenWebStart#570
if you use a manually created temp-dir (e.g. C:\temp\ows) this results in an exception during startup.
Are there maybe ACLs missing or is there something wrong with the filter?
IcedTea-Web/core/src/main/java/net/sourceforge/jnlp/util/RestrictedFileUtils.java
Line 96 in e8f02c4
IcedTea-Web/core/src/main/java/net/sourceforge/jnlp/util/RestrictedFileUtils.java
Line 51 in e8f02c4
I'm on a german windows and at least
cacls
shows other names.-> locally I'm admin but had this issue also with regular user accounts.
The text was updated successfully, but these errors were encountered: