Skip to content

errors about lockfiles in dbc install/uninstall when not running with sudo/admin #446

Closed

Description

@amoeba

When I try to uninstall a driver in an unprivileged PowerShell shell. I get an error about access being denied to a lock file:

PS > dbc uninstall --level system foo
  Error: another dbc operation is in progress: fslock: open C:\Program Files\ADBC\Drivers\.dbc.install.lock: open C:\Program
  Files\ADBC\Drivers\.dbc.install.lock: Access is denied.

I think this error would be misleading and we should instead err about a permissions issue instead. May be related to #445.

This also happens on macOS so I assume Linux as well.

Environment:

  • dbc 0.3.0
  • Windows 11, macOS

Activity

  1. self-assigned this
    on Jul 27, 2026
  2. changed the title [-]windows: errors about lockfiles in dbc install/uninstall when not running as admin[/-] [+]errors about lockfiles in dbc install/uninstall when not running with sudo/admin[/+] on Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions