I have some samba servers with a lot of different shares, all thees share are accessed from different systems like Windows MAC OS X and Linux. Each system let some garbage like:
.DS_Store, Desktop Services Store is a hidden file created in every local folder in Mac OS X. This file stores custom attributes such as position of each folder icons and the choice of background colors. By default it will be created in every local folder accessed by Mac OS X :(
.TemporaryItems, if you are mounting the shares to a Mac, then OS-X is likely creating them:
And I hate theese stupid Thumbs.db files:
If you want to prevent users from seeing all these files completely, you can hide them in your share section:
From smb.conf:
1 2 3 4 5 6 7 8 | [Data] comment = Samba on Leonardo path = /opt/Samba hosts allow = 10.1.100.0/24 192.168.2.141 10.0.0.3 guest ok = yes browsable = yes writable = yes veto files = /Thumbs.db/.DS_Store/._.DS_Store/.apdisk/ |