Skip to content

Bug: proto-gen generated files belong to root instead of user #358

@zanicar

Description

@zanicar

System Information
Archway Version: latest
Commit Hash: c9ef7ada0c06b062f1d73c783de450c114883a47
OS & Version: OS: Garuda Linux x86_64 Kernel: 6.3.1-zen1-1-zen

Expected behavior
make proto-gen generated files should belong to (be owned by) the user from the actual user space, i.e. the same user that cloned the repository.

Actual behavior
make proto-gen generated files are owned by root user; This is a consequence of how tendermintdev/sdk-proto-gen image and container environment is configured and run.

Steps to reproduce

  1. Clone the repository
  2. Run make proto-gen
  3. Run ls -lh x/{module}/types

Note the owner for *.pb.go files = root

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions