Weird error from Mac on connecting to Samba: The folder "blah" can't be opened because shutup

Jeremy Allison jra at samba.org
Sat Aug 18 02:07:51 UTC 2018


On Fri, Aug 17, 2018 at 06:10:57PM -0700, Richard Sharpe wrote:
> On Thu, Aug 16, 2018 at 4:26 PM, Christof Schmitt <cs at samba.org> wrote:
> > On Thu, Aug 16, 2018 at 04:15:50PM -0700, Jeremy Allison via samba-technical wrote:
> >> On Thu, Aug 16, 2018 at 04:03:18PM -0700, Richard Sharpe via samba-technical wrote:
> >> > Hi folks,
> >> >
> >> > I am getting the following error when connecting to a share on a Samba
> >> > 4.7.1 system (without the Mac Spotlight VFS etc):
> >> >
> >> > 'The folder "blah" can't be opened because you don't have permissions
> >> > to see it's contents."
> >> >
> >> > However, there are no SMB requests showing ACCESS DENIED.
> >> >
> >> > I do see a lot of attempts to open files like ._? and .Spotlight-V100
> >> > and so forth, none of which exist, and I see an FSCTL to
> >> > SRV_REQUEST_RESUME_KEY which returns an internal error.
> >> >
> >> > Can anyone say what is going on and how to prevent such errors?
> >>
> >> Are you loading the vfs_fruit module ? Do you get these
> >> errors with that loaded ?
> >
> > RESUME_KEY returning INTERNAL_ERROR could also be caused by the
> > time_audit bug. Fixed in
> > https://bugzilla.samba.org/show_bug.cgi?id=13568
> 
> No.
> 
> The problem is that Mac OS X is very sensitive to the response to MXAC.
> 
> Windows is not so sensitive to it.
> 
> I had a change that made MXAC result in very few permissions, like
> only Synchronize and Read Attributes, and the Mac did not like that.

So are you returning the accurate MXAC permission set ?

It's only advisory, you could lie :-).



More information about the samba-technical mailing list