Samba: dot-Files verstecken

Post Reply
Message
Author
kotte2001
Posts: 30
Joined: 17. Jul 2001 1:00
Location: Schwarzenberg
Contact:

Samba: dot-Files verstecken

#1 Post by kotte2001 »

Hallo,

ich habe ein Share für mein Home-Verzeichnis mit Samba erstellt. Ich möchte alle Dot-Files für Windows verstecken. Ich habe in meiner smb.conf hide dot files = yes stehen, jedoch werden sie unter Windows immer noch angezeigt. Kennt jamand eine Lösung?
(Samba 2.2.1a auf SuSE 7.1)

Danke,

Michael

Hotti

Re: Samba: dot-Files verstecken

#2 Post by Hotti »

Du mußt im Win-Explorer unter:
Ansicht-->Ordneroptionen-->Ansicht-->Versteckte Dateien den Knopf "Versteckte Dateien ausblenden" anklicken.

Hatts geholfen?

Gruß Hotti

kotte2001
Posts: 30
Joined: 17. Jul 2001 1:00
Location: Schwarzenberg
Contact:

Re: Samba: dot-Files verstecken

#3 Post by kotte2001 »

Danke, ich dachte dass Samba in der Lage ist die Dot-Files direkt im Browsing zu unterdrücken und nicht nur als versteckt markiert, damit es das blöde Win nicht sieht.

odauter
Posts: 460
Joined: 17. Apr 2000 20:05
Location: Hamburg
Contact:

Re: Samba: dot-Files verstecken

#4 Post by odauter »

Du meinst die "hide files ="-Directive in der smb.conf

hide files(S)

This is a list of files or directories that are not
visible but are accessible. The DOS ´hidden´
attribute is applied to any files or directories
that match.

Each entry in the list must be separated by a ´/´,
which allows spaces to be included in the entry.
´*´ and ´?´ can be used to specify multiple files
or directories as in DOS wildcards.

Each entry must be a Unix path, not a DOS path and
must not include the Unix directory separator ´/´.

Note that the case sensitivity option is applicable
in hiding files.

Setting this parameter will affect the performance
of Samba, as it will be forced to check all files
and directories for a match as they are scanned.

See also "hide dot files", "veto files" and "case
sensitive".

Default

No files or directories are hidden by this
option (dot files are hidden by default
because of the "hide dot files" option).

Example hide files = /.*/DesktopFold­
erDB/TrashFor%m/resource.frk/

The above example is based on files that the Macin­
tosh SMB client (DAVE) available from Thursby cre­
ates for internal use, and also still hides all
files beginning with a dot.
Last edited by odauter on 13. Aug 2001 11:09, edited 1 time in total.
bye.olli
--
"Where's Oswald when we need him.."

odauter
Posts: 460
Joined: 17. Apr 2000 20:05
Location: Hamburg
Contact:

Re: Samba: dot-Files verstecken

#5 Post by odauter »

ach ne, quatsch. "veto files" wars.
bye.olli
--
"Where's Oswald when we need him.."

hotti

Re: Samba: dot-Files verstecken

#6 Post by hotti »

Leider ist mein Englisch nicht so gut, daß ich das verstehe. <img src="http://www.pl-forum.de/UltraBoard/Images/Sad.gif" border="0" align="middle">

odauter
Posts: 460
Joined: 17. Apr 2000 20:05
Location: Hamburg
Contact:

Re: Samba: dot-Files verstecken

#7 Post by odauter »

Mit
veto files = /*keks*/
werden keine File mit "keks" im Namen angezeigt. Mit
veto files = /.*/
keine Files mit einem Punkt am Anfang des Namens. Kombiniert wird das so
veto files = /.*/*keks*/
bye.olli
--
"Where's Oswald when we need him.."

Post Reply