[Samba] Hiding dot files from Windows

grant little grantliddle at gmail.com
Sun Feb 21 08:33:13 MST 2010


On Sun, Feb 21, 2010 at 5:55 AM, Michael Wood <esiotrot at gmail.com> wrote:

> On 21 February 2010 12:02, grant little <grantliddle at gmail.com> wrote:
> > On Sat, Feb 20, 2010 at 9:20 AM, alansecker <alan at asandco.co.uk> wrote:
> >
> >> The user section of one of my smb.conf files looks like this yet when I
> >> bring
> >> up XP (a guest under VirtualBox) on my system, all linux dot files are
> >> visible. Am I missing somethng?
> >>
> >> [fred]
> [...]
> >>    hide dot files = yes
> >
> > I see the same behavior with 3.50rc3 when I look from windows explorer at
> > files created on the share by OS X all the extra OSX stuff is visible: a
> > folder called
> > .TemporaryItems
> > and a file caled
> > ._.TemporaryItems
> > plus one ._file for each other os x file there.
> >
> > man smb.conf says
> > Default: hide dot files = yes
> >  and it makes me wonder how it looked on older versions. I have 3.0.33
> > setup on a centos box but I can't access it until Monday next to compare.
> > From OSX those files are not visible wich makes me wonder if "hide dot
> > files" only applies to os x views.
>
> This also depends on the client, I imagine.  If Samba just sets the
> hidden attribute when sending the directory listing to the client, the
> client can still decide to show the files.  I don't know if this is
> what's happening, but it seems reasonable to me.
>
> Perhaps Windows Explorer is configured to show hidden files?
>
> OS X hides dot files by default anyway, so it doesn't surprise me that
> you don't see them there.
>
> --
> Michael Wood <esiotrot at gmail.com>
>

Yeah I think that is it Michael, I thought of that too after I went shuteye,
as a sysadmin my windows xp box is set to show hidden and system files so
that would override what samba does.


More information about the samba mailing list