[Samba] chdir_current_service: vfs_ChDir(/srv/samba/users) failed: Permission denied.

spindles seven spindles7 at gmail.com
Sat Nov 27 15:25:21 UTC 2021


On 27 November 2021 11:36 Rowland Penny wrote:
> > The samba WiKi doesn't mention adding the "x" at all in the directory
> > hierarchy as far as I can see;   if so maybe a note needs adding to
> > the relevant page(s)?
> 
> That is because it is standard Unix, 'x' on a directory means 'enter'
> or 'traverse' and if you cannot traverse directories, then you cannot
> reach the share.
> 
OK, makes sense.   May be worth putting this in the troubleshooting section - to check this setting if these log messages are seen?

> >
> > Have added the "x" to the /srv/samba directory and the logs haven't
> > recurred (so far!).
> >
> > Not sure I understand why this will work, considering that the line:
> > "acl_xattr:ignore system acl = yes" is in smb.conf?
> >
> > Checking man smb.conf I can't find the description of this parameter.
> > A search finds mention of "acl)xattr:ignore system acls = yes" (note
> > the plural of acl) but no actual description of the parameter.
> 
> man vfs_acl_xattr

Thanks.
> 
> >
> > The Wiki suggests adding "acl_xattr:ignore system acl = yes", but
> > should it be: "acl_xattr:ignore system acls = yes"?
> 
> Yes, I have fixed it.

OK, good.

> 
> Rowland
> 
Thanks Rowland and Ralph.    Those log entries have indeed stopped now, so that indeed was the issue.

Best regards,

Roy




More information about the samba mailing list