Skip to content

Catch PermissionError #100

@tomschr

Description

@tomschr

Project Version

0.13.0

Python Version

3.12, 3.13, 3.14

Operating System

Linux

Steps to Reproduce

  1. Copy the etc/docbuild/env.example.toml to env.devel.toml

  2. Run the following command:

    docbuild --env-config env.devel.toml metadata 'suse-ai/1.0/en-us

  3. See the exception:

    PermissionError: [Errno 13] Permission denied: '/data'

Expected Behavior

If the script cannot write to the given directory, we want a good error message.

Perhaps this issue may be solved through Pydantic validation.

Actual Behavior

No response

Additional Information

Related #21

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions