matcha icon indicating copy to clipboard operation
matcha copied to clipboard

BUG: Missing directory creation error check in cache

Open andrinoff opened this issue 7 months ago • 2 comments

Describe the bug Directory creation at config/cache.go:38 uses os.MkdirAll() with ignored errors in some code paths. Silent failure on permission issues.

To reproduce

  1. Remove write permissions on cache directory
  2. MkdirAll fails silently
  3. Subsequent cache operations fail mysteriously

Expected behavior Check and return os.MkdirAll() errors

Matcha version master

OS All

Additional context File: config/cache.go line 38 Ignored MkdirAll error

andrinoff avatar Apr 21 '26 14:04 andrinoff

This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.

floatpanebot avatar May 22 '26 06:05 floatpanebot

Closing due to inactivity. Reopen if still relevant.

floatpanebot avatar Jun 04 '26 19:06 floatpanebot