[Samba] Hiding dot files from Windows

Alexander Födisch foedisch at eva.mpg.de
Mon Feb 22 01:13:02 MST 2010


I think, this is what you are looking for:


hide files = /.*/


Best
Alex




grant little schrieb:
> 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]
>>    comment = Alan's service
>>    path = /home/fred
>>    writeable = yes
>>    valid users = fred
>>    admin users = fred
>>    browseable = yes
>>    case sensitive = no
>>    printing = bsd
>>    #print command = /usr/share/samba/scripts/print-pdf file path win_path
>> recipient IP &
>>    print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u"
>> "%m" "%I" "%J" &
>>    lpq command = /bin/true
>>    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.


More information about the samba mailing list