container: src: finance: change visidata default dir #198

Merged
AaronFiore merged 0 commits from refs/pull/198/head into master 2025-06-25 19:26:02 +00:00
AaronFiore commented 2025-06-25 03:26:04 +00:00 (Migrated from gitea.com)

Description

The container environment's $DOCKER_FINANCE_CONTAINER_CONF is
bind-mounted and, by default, points to ~/.config/docker-finance.d

The parent dir (~/.config) is subsequently owned by root (Docker-ism).
Ergo, with visidata v3.2, visidata cannot create its default dir:

"PermissionError: [Errno 13] Permission denied: for visidata config"

This commit fixes that by setting visidata's default dir to use the
calling profile's docker-finance.d (where profile customization occurs).

Also included is some related refactoring.

Agreement

### Description The container environment's $DOCKER_FINANCE_CONTAINER_CONF is bind-mounted and, by default, points to ~/.config/docker-finance.d The parent dir (~/.config) is subsequently owned by root (Docker-ism). Ergo, with visidata v3.2, visidata cannot create its default dir: "PermissionError: [Errno 13] Permission denied: for visidata config" This commit fixes that by setting visidata's default dir to use the calling profile's docker-finance.d (where profile customization occurs). Also included is some related refactoring. ### Agreement - [x] I have read and understood the [Development](https://gitea.com/EvergreenCrypto/docker-finance#development) and [License](https://gitea.com/EvergreenCrypto/docker-finance#license-and-disclaimer) documentation
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Reference: EvergreenCrypto/docker-finance#198