View previous topic :: View next topic |
Author |
Message |
vf1sveritech Tux's lil' helper
Joined: 14 May 2004 Posts: 90
|
Posted: Wed Feb 02, 2005 1:11 am Post subject: samba - hidden files |
|
|
is there a way that samba won't display hidden files, so when you access it from a windows machine, theres not a million .folders and .files? _________________ VT |
|
Back to top |
|
|
lookinin Guru
Joined: 21 Jan 2005 Posts: 486
|
Posted: Wed Feb 02, 2005 1:24 am Post subject: |
|
|
Yes, search for "hidden" in 'man smb.conf':
man smb.conf wrote: | hide dot files (S)
This is a boolean parameter that controls whether files starting
with a dot appear as hidden files.
Default: hide dot files = yes
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.
Default: hide files = # no file are hidden
Example: hide files = /.*/DesktopFolderDB/Trash-
For%m/resource.frk/ # The above example is based on files that
the Macintosh SMB client (DAVE) available from Thursby creates
for internal use, and also still hides all files beginning with
a dot.
|
Since hide dot files is on by default, I'm thinking it might be explicitly set to off in your config. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|