Why did pkgmk create root/users instead of root/root?

Daryl F wyatt at prairieturtle.ca
Mon Jul 31 04:03:32 UTC 2017


On Mon, 31 Jul 2017, Azure Zanculmarktum wrote:

>> if you run id does it say
>> # id
>> uid=0(root) gid=0(root) ...
>>
>> In other words, is the root user assigned to some other group when you run pkgmk?
>
> Here's the result:
> https://ptpb.pw/wPxs
>
> My system is clean (just installed).
>

My only other guess is the directory where pkgmk is building has the 
setgid bit on and the group set to users.

Nothing in the pkgmk script sets the uid or gid. prt-get is compiled and I 
am not familiar with the source so it might be forcing the gid.


-Daryl


More information about the CRUX mailing list