https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8044

--- Comment #43 from RvdH <[email protected]> ---
(In reply to RvdH from comment #42)
> (In reply to Henrik Krohns from comment #41)
> > (In reply to RvdH from comment #40)
> > > For global_state_dir that is :-)
> > 
> > Yes portable_getpwuid should not return home for all users.
> > 
> > There is no ALLUSERSAPPDATA set on my Windows.
> > 
> > I do have ALLUSERSPROFILE=C:\ProgramData, maybe use that inside
> > set_global_state_dir? Should I'm not sure what benefits this would bring
> > over just using LOCAL_STATE_DIR.
> 
> Oops, should have checked that first, i simply trusted/expected the
> microsoft documentation to be accurate

cd %ALLUSERSPROFILE%
C:\ProgramData>

Tested on Windows 10, Windows 11, Windows Server 2019 and Windows Server 2022

Not saying you must use ALLUSERSPROFILE, if you prefer LOCAL_STATE_DIR that is
fine with me, the only issue i had is the creation of C:\.SpamAssassin somehow
irritated me :)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to