Skip to content

SQLite configurations options #17754

@dmtar

Description

@dmtar

Question

Is it possible to configure the underlying SQLite when the OpenCode server starts?

Specifically, I need to set the following option:

SQLITE_DEFAULT_FILE_PERMISSIONS

This controls the default numeric file permissions for newly created database files on Unix systems. If not specified, the default is 0644, which means the file is globally readable but writable only by the creator.

In our case, we need the SQLite database files to also be group-writable (e.g., 0664). Is there a way to configure this when starting the OpenCode server?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions