[Samba] .exe files

Thomas Bork knuffelmail at gmx.de
Wed Feb 4 00:38:44 GMT 2004


Hallo Rob and Craig,

> >Just spent a weekend deleting the blighters. 
> >I'll just veto them - looks like its easier.
> 
> >Chris
> 
> Correct me if I am wrong but won't this cause the "saving your settings"
> part of shutdown to fail? Which would be bad especially since users aren't
> going to be able to figure out what files they need to delete and that is
> the only way to fix it?  Seem's to me its going to have to be something
> server side... 

how about

hide files = /desktop.ini/

in [global] and every share definition? This solved the problem for me. You
will only see the files, if you told your windows to see hidden files.

> As an aside, does anyone know where those buggers come from? And why they
> just appear in random places?

Windows creates this files and stores some informations there - thats why
explorer exe is searching for this file on every access of directories. You can
see that in your samba log with higher log level.
Here a explanation of MS - only in german:

Was ist eine Datei "desktop.ini"?

Desktop.ini-Dateien speichern Informationen dazu, wie Dateiordner und ihre
Inhalte angezeigt werden, wenn sie ein Benutzer durchsucht.
Desktop.ini-Dateien sind nicht für die Anzeige eines Ordners erforderlich und auch nicht in
jedem Ordner vorhanden. Wenn eine desktop.ini-Datei in einem Ordner vorhanden
ist, kann sie verschiedene Informationen abhängig von den Anwendungen
enthalten, die auf diesen Ordner zugegriffen haben. Windows-Explorer kann z. B. eine
desktop.ini-Datei zum Speichern des Namens und Pfades des Symbols, das den
Ordner darstellt, des Textes der QuickInfos, die angezeigt werden, wenn sich der
Mauszeiger über dem Ordner befindet, oder der Anzeigeart der im betreffenden
Ordner enthaltenen Dateien verwenden.

der tom



More information about the samba mailing list