Skip to content

unable to run yozf if home directory is not writeable #165

@bb-Ricardo

Description

@bb-Ricardo

Describe the bug
It is not possible to start the command if the $HOME directory is not writeable

To Reproduce
Steps to reproduce the behavior:

docker run --rm -it --entrypoint bash ubuntu:25.04
apt-get update && apt-get install -y curl
curl -L https://github.com/MAIF/yozefu/releases/download/v0.0.18/yozefu-x86_64-unknown-linux-gnu.tar.gz | tar -xzf -
useradd test
su - test
cd /
/yozf-x86_64-unknown-linux-gnu-0.0.18

Error message: Error: IO Error: Permission denied (os error 13)

Expected behavior
Inform the user what went wrong. Offer a command option to specify an alternative config directory location

Screenshots
If applicable, add screenshots to help explain your problem.

version:
0.0.18

Additional context
I tried running it inside a Kubernetes pod which had readOnlyRootFilesystem enabled and only /tmp would be writeable.

Metadata

Metadata

Assignees

No one assigned

    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