veto dot files?

Stefan Hoffmeister Stefan.Hoffmeister at Econos.de
Tue Jul 4 18:36:03 GMT 2000


How can I *veto* dot files? 

The naive approach of using

  /.*/

fails in so far as no file at all appears on the NT side :-) Hiding isn't
enough for me, as I do want to see all hidden files on the NT side of
things - I just don't want to see the Linux dot files on the NT side.

This is Samba 2.0.6 (RH6.2) with the below configuration.

TIA,
Stefan
************

# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2000/07/04 20:23:40

# Global parameters
[global]
	netbios name = STEFAN-Z600
	server string = Samba Server
	encrypt passwords = Yes
	log file = /var/log/samba/log.%m
	max log size = 50
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	local master = No
	dns proxy = No

[homes]
	comment = Home Directories
	read only = No
	veto files = /.*/*.tmp/
	browseable = No

[printers]
	comment = All Printers
	path = /var/spool/samba
	print ok = Yes
	browseable = No

[test]
	comment = Linux data
	path = /export/data
	read only = No
	guest ok = Yes




More information about the samba mailing list