Skip to content
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

create new AclEntry if ownerEntry is not found #8133

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

thurka
Copy link
Contributor

@thurka thurka commented Jan 9, 2025

On Windows, GDK Gradle project with object storage fails to start.
There is an error message in the log:

[Error - 4:26:22 PM] Request workspace/executeCommand failed.
  Message: Owner missing, file:C:\Temp\Downloads \vscode-work-datadir \User \workspaceStorage\b372ec8d4119692fb0336080c81661a\ast apache-netbeans-java\userdir\var\cache\nbls.db.connection\db-10622290301022902981.properties
  Code: -32603

Owner missing: error is caused by special Windows setup, where new files do not have owner listed in file permissions. There are some aliases instead.
The situation looks like this:

Find owner JISEDLAC--CZ\jisedlac (User)
 Entry principal BUILTIN\Administrators (Alias)
 Entry principal NT AUTHORITY\SYSTEM (Well-known group)
 Entry principal BUILTIN\Users (Alias)
 Entry principal NT AUTHORITY\Authenticated Users (Well-known group)

none of the entries contains logged user.
This is fixed in this PR by removing all entries and adding new one, with user as principal.

@thurka thurka added LSP [ci] enable Language Server Protocol tests VSCode Extension [ci] enable VSCode Extension tests enterprise [ci] enable enterprise job labels Jan 9, 2025
@thurka thurka self-assigned this Jan 9, 2025
@thurka thurka added this to the NB25 milestone Jan 9, 2025
@thurka thurka merged commit 56b8332 into apache:master Jan 9, 2025
32 checks passed
@thurka thurka deleted the thurka/GCN-5326 branch January 9, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enterprise [ci] enable enterprise job LSP [ci] enable Language Server Protocol tests VSCode Extension [ci] enable VSCode Extension tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants