Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Jan 2024 15:23:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 276150] www/caddy - caddy_logfile permissions change?
Message-ID:  <bug-276150-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276150

            Bug ID: 276150
           Summary: www/caddy - caddy_logfile permissions change?
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: adamw@FreeBSD.org
          Reporter: mfisher911@gmail.com
          Assignee: adamw@FreeBSD.org
             Flags: maintainer-feedback?(adamw@FreeBSD.org)

Created attachment 247486
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247486&action=
=3Dedit
Set caddy_log ownership to caddy_user

Bug 273181 proposes changing Caddy to be run as a non-root user. The refere=
nced
wiki page (https://wiki.freebsd.org/ThomasHurst/Caddy) has a call-out:

> caddy_logfile (default /var/log/caddy/caddy.log) is a redirection of cadd=
y console output, which will be opened by the rc(8) script as root:wheel.

An additional consequence to this is that failures messages can't be writte=
n to
that file.

Would it be reasonable to change the caddy_logfile permissions so that it's
owned by caddy_user?

Thank you for the consideration/attention.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276150-7788>