From: Francis Bolduc <fbolduc@gmail.com>
To: Juliusz Chroboczek <jch@irif.fr>
Cc: Michael McMahon <michael@gnu.org>, galene@lists.galene.org
Subject: [Galene] Re: Anonymous access
Date: Mon, 2 Nov 2026 07:03:05 -0500 [thread overview]
Message-ID: <CAHpL4=jGBD-AgtT83BMGiyu7A=znAOCFKqGHVKYEnm5XAx96DA@mail.gmail.com> (raw)
In-Reply-To: <87ld7bcvl4.wl-jch@irif.fr>
Thanks Michael, Juliusz,
I was able to setup my groups with the following commands:
galenectl create-group -group alouette
galenectl create-group -group cacahuete
galenectl create-group -group pirouette
echo '{"public":true}' | galenectl update-group -group alouette -json
echo '{"public":true}' | galenectl update-group -group cacahuete -json
echo '{"public":true}' | galenectl update-group -group pirouette -json
galenectl create-user -group alouette -wildcard
galenectl create-user -group cacahuete -wildcard
galenectl create-user -group pirouette -wildcard
galenectl set-password -group alouette -wildcard -type wildcard
galenectl set-password -group cacahuete -wildcard -type wildcard
galenectl set-password -group pirouette -wildcard -type wildcard
Unfortunately, those commands cannot be used in my Dockerfile, which
looks like this:
FROM archlinux:base-20261025.0.616225
RUN pacman --noconfirm -Sy go
ADD https://github.com/jech/galene/archive/refs/tags/galene-1.2.1.tar.gz /src/
RUN cd /src; tar --strip-components=1 -xf galene-*.tar.gz; rm galene-*.tar.gz
RUN cd /src; CGO_ENABLED=0 go build -trimpath -ldflags='-s -w'; mv
galene /usr/bin/
RUN cd /src/galenectl; CGO_ENABLED=0 go build -trimpath -ldflags='-s
-w'; mv galenectl /usr/bin/
RUN mkdir /srv/galene; mv /src/static /srv/galene/
WORKDIR /srv/galene
CMD ["/usr/bin/galene", ...]
So instead I bake in the resulting JSON file obtained after running
the commands above and shutting down galene:
{
"public": true,
"wildcard-user": {
"password": {
"type": "wildcard"
},
"permissions": "present"
}
}
I think what is missing in the installation guide is the reference
documentation for the JSON files. Then there would be no need for
galenectl.
Regards,
Francis
next prev parent reply other threads:[~2026-11-02 12:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-01 22:53 [Galene] Anonymous access Francis Bolduc
2026-11-01 23:56 ` [Galene] " Michael McMahon
2026-11-02 11:37 ` Juliusz Chroboczek
2026-11-02 12:03 ` Francis Bolduc [this message]
2026-11-02 12:21 ` Juliusz Chroboczek
2026-11-02 12:44 ` Francis Bolduc
2026-11-02 13:04 ` Juliusz Chroboczek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHpL4=jGBD-AgtT83BMGiyu7A=znAOCFKqGHVKYEnm5XAx96DA@mail.gmail.com' \
--to=fbolduc@gmail.com \
--cc=galene@lists.galene.org \
--cc=jch@irif.fr \
--cc=michael@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox