smbd: Broken access to share

Björn Baumbach bb at sernet.de
Fri Feb 16 11:40:24 UTC 2024


On 2/16/24 12:14, Купчук Михаил Георгиевич wrote:
> -#if defined(HAVE_POSIX_CAPABILITIES) && defined(CAP_DAC_OVERRIDE)
> +#if defined(HAVE_POSIX_CAPABILITIES) && defined(CAP_DAC_OVERRIDE) && defined(CAP_DAC_OVERRIDE_FIXED)
>   static bool have_cap_dac_override = true;
>   #else
>   static bool have_cap_dac_override = false;
> 
> which in fact disables all that "prefer capabilities over become_root" commits set,
> Our problem goes away and everything works again.

Seems that there are several related issues. Yesterday I've filed this 
bug, which is also related:
https://bugzilla.samba.org/show_bug.cgi?id=15583

Best regards,
Björn

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: 0551-370000-0, mailto:kontakt at sernet.de
Gesch.F.: Dr. Johannes Loxen und Reinhild Jung
AG Göttingen: HR-B 2816 - http://www.sernet.de
Datenschutz: https://www.sernet.de/datenschutz



More information about the samba-technical mailing list