Description of problem: When you rebuild a package in mock on EL9, the result directory has the wrong group ownership, it should be owned by the mock group, but it is owned by the caller's primary group. Version-Release number of selected component (if applicable): 3.5-1.el9 How reproducible: always Steps to Reproduce: 1. mock somepackage 2. ls -ld /var/lib/mock/*/result 3. Actual results: % ls -ld /var/lib/mock/slz-7-x86_64/result drwxrwxr-x. 2 waschk dv 4096 30. Jan 09:53 /var/lib/mock/slz-7-x86_64/result Expected results: drwxrwxr-x. 2 waschk mock 4096 30. Jan 09:53 /var/lib/mock/slz-7-x86_64/result Additional info: This is different from the behaviour of mock 2.17-1.el7 on EL7.
Thank you for the report. Can you elaborate on why you need this fix, and what it breaks?
This is a problem if another user with a different primary group is calling mock. Then he cannot write the results into this directory.