Why did pkgmk create root/users instead of root/root?
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).
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
On 7/31/17, Daryl F <wyatt@prairieturtle.ca> wrote:
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
On 7/31/17, Daryl F <wyatt@prairieturtle.ca> wrote:
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
You're right, I issued `stat -c "%a %A %n" *', and it has 2 in 2755.
participants (2)
-
Azure Zanculmarktum
-
Daryl F