[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] net/slirp: Fix incorrect permissions on samba >= 2.0.5
From: |
Niklas Hambüchen |
Subject: |
Re: [PATCH] net/slirp: Fix incorrect permissions on samba >= 2.0.5 |
Date: |
Fri, 30 Apr 2021 20:19:21 +0200 |
On 4/30/21 7:29 PM, Peter Maydell wrote:
> If we add 'force user=whoever' to the [global] section, is it then
> unnecessary to also specify it in the [qemu] section ?
I believe it is, yes.
Source:
https://www.samba.org/~ab/output/htmldocs/manpages-3/smb.conf.5.html#id2506183
> All S parameters can also be specified in the [global] section - in which
> case they will define the default behavior for all services.
And `force user (S)` in those docs is an "S parameter".
My patch does not remove the one in [qemu] because I found it somewhat nice to
have the settings for "who owns management dirs like 'locks'" and "who owns the
files inside the [qemu] share" both be stated explicitly.
It makes it a bit more obvious what's going on.