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

dbeaver6: persist configuration #13666

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

raisercostin
Copy link
Contributor

Persist configs by creating a symlink at $env:APPDATA\DBeaverData to /persist/dbeaver/DBeaverData - https://dbeaver.com/docs/dbeaver/Workspace-Location/

Copy link
Contributor

All changes look good.

Wait for review from human collaborators.

dbeaver

  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

@raisercostin
Copy link
Contributor Author

Any reason for not accepting this? Should I do something more?

@rasa rasa changed the title Adding dbeaver6 persist of configuration dbeaver6: persist configuration Dec 29, 2024
Copy link
Member

@rasa rasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@raisercostin Perhaps we need to implement this a different way, as symbolic links can only be created by:

  1. Administrators: By default, creating symbolic links requires administrative privileges.

  2. Developer Mode: If Developer Mode is enabled, non-administrative users can create symbolic links without requiring elevated privileges. Developer Mode grants the SeCreateSymbolicLinkPrivilege to regular users.

  3. Manually Assigning Privileges: Non-administrative users can be granted the SeCreateSymbolicLinkPrivilege manually through Local Group Policy Editor or other privilege assignment tools. This allows them to create symbolic links without enabling Developer Mode or having admin rights.

@jonathanMelly
Copy link

jonathanMelly commented Feb 4, 2025

Hello,

To have the workspace persisted in standard "$persist" location, I would like to suggest to use the "-data" argument.
Here is the patch if it can help.

dbeaver-workspace.patch
2025-02-04 15_55_15-Window

What do you think, could it make everybody happy (no symlink and workspace in $persist folder) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants