Re: p11-kit server socket permission question

2023-01-31 Thread Benjamin Herrenschmidt
On Tue, 2023-01-31 at 17:52 +0900, Daiki Ueno wrote: > > Shouldn't this be a || instead of && ? Ie, allow to set either uid, gid > > or both ? Right now if I specify only one, we don't get a chown at all. > > > > Would this (yet untested) patch make sense ? I'll be testing it later > > this week a

Re: p11-kit server socket permission question

2023-01-31 Thread Daiki Ueno
Hello Benjamin, Benjamin Herrenschmidt writes: > I noticed p11-kit server does an unconditional umask(066) when creating > the server socket. > > This means that even when specifying a group, the socket ends up > without group read or group write permission (funnily enough it does > have execute