[Samba] Logging.

Hussam Al-Tayeb
Tue, 05 Jul 2022 19:34:53 -0000

On Tue, 2022-07-05 at 19:06 +0100, Rowland Penny via samba
wrote:
> On Tue, 2022-07-05 at 14:21 +0300, Hussam Al-Tayeb via samba wrote:
> > Hello. I am using samba 4.16.2
> > There are various log files in /var/log/samba/ that are publicly
> > readable.
> > Is it possible to change the permissions of the generated logs of
> > completely forward all logging to syslog/journald?
> >
> > Thank you.
>
> You do not mention what OS this on, but on Debian, while there are
> files in /var/log/samba that are world readable, the world cannot
> enter
> /var/log/samba to read them, only 'root' and members of the
'adm'
> group
> can enter.
>
> Rowland
>
>
>
It's Arch Linux. The permissions of /var/log/samba are set by the
package to 0755.