Re: Get a user's all groups

2024-01-02 Thread Joe Orton
On Tue, Jan 02, 2024 at 02:00:00PM +0100, Daniel Sahlberg wrote: > My idea was to incrementally improve the code but maybe a better way > is to switch to access() completely. access() seems to be widely > available but I will have to read up on the setuid properties to make > sure we don't

Re: Get a user's all groups

2024-01-02 Thread Daniel Sahlberg
Den tis 2 jan. 2024 kl 12:03 skrev Joe Orton : > On Tue, Dec 26, 2023 at 07:17:51PM +0100, Daniel Sahlberg wrote: > > Hi, > > > > apr_uid_current() can retur the user id and primary group id of a user. > Is > > there a way to find out if a user also has secondary groups (something > > similar to

Re: [PATCH] Remove links to mail-archives.apache.org from the website

2024-01-02 Thread Joe Orton
On Tue, Dec 26, 2023 at 07:11:00PM +0100, Daniel Sahlberg wrote: > Hi, > > The web page Mailing Lists [1] has links to mail-archives.apache.org. That > site was decommissioned by ASF Infra a while back. The addresses still work > but redirect to the new Ponymail archive (same as the first link).

Re: Get a user's all groups

2024-01-02 Thread Joe Orton
On Tue, Dec 26, 2023 at 07:17:51PM +0100, Daniel Sahlberg wrote: > Hi, > > apr_uid_current() can retur the user id and primary group id of a user. Is > there a way to find out if a user also has secondary groups (something > similar to getgrouplist(3)? > > The Subversion project has some bug