Skip to content

create new AclEntry if ownerEntry is not found#8133

Merged
thurka merged 1 commit intoapache:masterfrom
thurka:thurka/GCN-5326
Jan 9, 2025
Merged

create new AclEntry if ownerEntry is not found#8133
thurka merged 1 commit intoapache:masterfrom
thurka:thurka/GCN-5326

Conversation

@thurka
Copy link
Copy Markdown
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 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
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants