The user section of one of my smb.conf files looks like this yet when I bring up XP (a guest under VirtualBox) on my system, all linux dot files are visible. Am I missing somethng? [fred] comment = Alan's service path = /home/fred writeable = yes valid users = fred admin users = fred browseable = yes case sensitive = no printing = bsd #print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP & print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" & lpq command = /bin/true hide dot files = yes -- View this message in context: http://old.nabble.com/Hiding-dot-files-from-Windows-tp27667163p27667163.html Sent from the Samba - General mailing list archive at Nabble.com.
On Sat, Feb 20, 2010 at 9:20 AM, alansecker <alan at asandco.co.uk> wrote:> > The user section of one of my smb.conf files looks like this yet when I > bring > up XP (a guest under VirtualBox) on my system, all linux dot files are > visible. Am I missing somethng? > > [fred] > comment = Alan's service > path = /home/fred > writeable = yes > valid users = fred > admin users = fred > browseable = yes > case sensitive = no > printing = bsd > #print command = /usr/share/samba/scripts/print-pdf file path win_path > recipient IP & > print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" > "%m" "%I" "%J" & > lpq command = /bin/true > hide dot files = yes > > -- >I see the same behavior with 3.50rc3 when I look from windows explorer at files created on the share by OS X all the extra OSX stuff is visible: a folder called .TemporaryItems and a file caled ._.TemporaryItems plus one ._file for each other os x file there. man smb.conf says Default: hide dot files = yes and it makes me wonder how it looked on older versions. I have 3.0.33 setup on a centos box but I can't access it until Monday next to compare.
On Sun, Feb 21, 2010 at 5:55 AM, Michael Wood <esiotrot at gmail.com> wrote:> On 21 February 2010 12:02, grant little <grantliddle at gmail.com> wrote: > > On Sat, Feb 20, 2010 at 9:20 AM, alansecker <alan at asandco.co.uk> wrote: > > > >> The user section of one of my smb.conf files looks like this yet when I > >> bring > >> up XP (a guest under VirtualBox) on my system, all linux dot files are > >> visible. Am I missing somethng? > >> > >> [fred] > [...] > >> hide dot files = yes > > > > I see the same behavior with 3.50rc3 when I look from windows explorer at > > files created on the share by OS X all the extra OSX stuff is visible: a > > folder called > > .TemporaryItems > > and a file caled > > ._.TemporaryItems > > plus one ._file for each other os x file there. > > > > man smb.conf says > > Default: hide dot files = yes > > and it makes me wonder how it looked on older versions. I have 3.0.33 > > setup on a centos box but I can't access it until Monday next to compare. > > From OSX those files are not visible wich makes me wonder if "hide dot > > files" only applies to os x views. > > This also depends on the client, I imagine. If Samba just sets the > hidden attribute when sending the directory listing to the client, the > client can still decide to show the files. I don't know if this is > what's happening, but it seems reasonable to me. > > Perhaps Windows Explorer is configured to show hidden files? > > OS X hides dot files by default anyway, so it doesn't surprise me that > you don't see them there. > > -- > Michael Wood <esiotrot at gmail.com> >Yeah I think that is it Michael, I thought of that too after I went shuteye, as a sysadmin my windows xp box is set to show hidden and system files so that would override what samba does.