Skip to content

Set home- and tmp-dir on default DuckDB connection#30

Open
jonasdedden wants to merge 2 commits into
SmooSenseAI:mainfrom
jonasdedden:fix-duckdb-home-tmp
Open

Set home- and tmp-dir on default DuckDB connection#30
jonasdedden wants to merge 2 commits into
SmooSenseAI:mainfrom
jonasdedden:fix-duckdb-home-tmp

Conversation

@jonasdedden

@jonasdedden jonasdedden commented May 4, 2026

Copy link
Copy Markdown
Contributor

We are running smoosense on a rootless container + on read-only mounted block storage.

I was running into issues such as:

Query execution failed: IO Error: Failed to create directory \".tmp\": Permission denied

I think this is because DuckDB tries to create folders at the wrong place (i.e. in-line in the read-only mounted block storage). With this PR, it's always doing that in its home dir, which should be writeable even with UID1000.

@slinjhu

slinjhu commented May 6, 2026

Copy link
Copy Markdown
Contributor

LGTM . Thanks @jonasdedden. Can you resolve the git conflict?

@jonasdedden

jonasdedden commented May 6, 2026

Copy link
Copy Markdown
Contributor Author

@slinjhu I resolved the conflicts :) EDIT: There are some test failures though... EDIT2: Ah, those are CI related because secrets are not properly set up in forks and have nothing to do with my PR, I think.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants