[Samba] Cleanup permission settings / traverse folder

Jeremy Allison jra at samba.org
Mon Mar 20 20:03:32 UTC 2023

On Mon, Mar 20, 2023 at 07:28:08PM +0000, Rowland Penny via samba wrote:

>If I understand you correctly, the SeChangeNotifyPrivilege can never 
>work the same on Linux as it does on Windows, where it seems users 
>with the privilege can walk the path even if they don't actually have 
>permission to do so (according to the ACL's).

Kind of. We could emulate it in userspace by checking
the re-walking the path every time we get an EACCES
error to check if the 'x' bit was missing on a directory,
but this is a boatload of work that we so far have essentially
ignored as it's just too hard to make Samba precicely
match Windows in this case.

More information about the samba mailing list