Bug 356 - hide files = /.*/DesktopFolderDB/TrashFor%m/resource.frk/
hide files = /.*/DesktopFolderDB/TrashFor%m/resource.frk/
Status: RESOLVED INVALID
Product: Samba 3.0
Classification: Unclassified
Component: Docs
3.0.0preX
All All
: P3 normal
: none
Assigned To: Jelmer Vernooij
http://us2.samba.org/samba/ftp/cvs_cu...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-08-27 01:18 UTC by robert ruegner
Modified: 2005-11-14 09:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description robert ruegner 2003-08-27 01:18:13 UTC
man smb.conf says
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.

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

Default: no file are hidden

Example: hide files = /.*/DesktopFolderDB/TrashFor%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

with samba 3 rc2 cvs 26.8.03 act as pdc
client win2000 serv pack 4 (german)

i included in the global section
hide dot files = yes
and
hide files = /.*/DesktopFolderDB/TrashFor%m/resource.frk/
this should hide all .* files in every share.
But if i switch windows to show all files
i am able to see the "dot files"
this is extreme bad in the user homes
cause in default, homes are created with many "dot files" from many distros
this would cause failure if user go to ther homes via ssh
and some of the "dot files" were deleted with windows before
Comment 1 robert ruegner 2003-08-27 01:19:47 UTC
nothing special appears in the log files about that,
please clear if it would help to include the hide parameters
exclusive in every related share
Comment 2 Jelmer Vernooij 2003-08-27 09:50:21 UTC
This is not a samba bug. Check the smb.conf manual page entry for 'hide files'
and 'hide dot files'. The option you are looking for is 'veto files'.
Comment 3 Gerald (Jerry) Carter 2005-02-07 09:06:26 UTC
originally reported against one of the 3.0.0rc[1-4] releases.
Cleaning up non-production versions.
Comment 4 Gerald (Jerry) Carter 2005-11-14 09:25:56 UTC
database cleanup