Skip to content

~/.rpmmacros and ~/rpmbuild files are owned by root user #1

@bschonec

Description

@bschonec

I'm using your image to build RPM packages on Gitlab with CI/CD pipelines. I need to modify the /home/rpmbuilder/.rpmmacros file so that the Gitlab pipeline can find the resulting SRPM and RPM files but since the file/directory are owned by root, I have to "sudo echo My_Great_Macro 1 >> ~/.rpmmacros".

This is a bit jankey and I recommend ensuring the .rpmmacros and rpmbuild file/directory are owned by the rpmbuilder user.

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