Skip to content

Permission denied on files created before 1.30.0 in docker, the 'unit' user id changed from 101 to 999 #893

Closed
@gabimem

Description

@gabimem

Since version 1.30.0 I have had permission errors on files that are in the persistent volume, because the files were created when the 'unit' user had ID 101, now with the new image, the ID is 999, therefore the persisted files left with a permissions error.

image

I fixed it by running a chown on the affected files, but I'll leave it documented here for those who encounter this error.
It would be nice not to alter that ID later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    z-documentation-update-neededThis type of issues likely have a link to an issue in the Unit Docs repo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions