James A. Dinkel
2007-Feb-01 22:25 UTC
[Samba] copying a folder removes the 'hidden' attribute
I have extended attributes enable in the file system so the 'hidden' and other attributes should be saved as an extended attribute. When connecting to the share from a Windows computer, if I copy a FILE then the new file stays hidden, but if I copy a FOLDER then the new folder is NOT hidden. I tried this on a Windows file server and it does preserve the 'hidden' attribute, which is what I want. I know this isn't really critical, but it's annoying when copying a folder with hidden subfolders. All the hidden subfolders are now un-hidden and I have to go through and re-hide them. Is this a bug, or maybe there is something I can do about it? I'm using Samba 3.0.23d from the Debian Etch repository. James
Jeremy Allison
2007-Feb-01 22:29 UTC
[Samba] copying a folder removes the 'hidden' attribute
On Thu, Feb 01, 2007 at 04:24:48PM -0600, James A. Dinkel wrote:> I have extended attributes enable in the file system so the 'hidden' and > other attributes should be saved as an extended attribute. > > When connecting to the share from a Windows computer, if I copy a FILE > then the new file stays hidden, but if I copy a FOLDER then the new > folder is NOT hidden. > > I tried this on a Windows file server and it does preserve the 'hidden' > attribute, which is what I want. I know this isn't really critical, but > it's annoying when copying a folder with hidden subfolders. All the > hidden subfolders are now un-hidden and I have to go through and re-hide > them. > > Is this a bug, or maybe there is something I can do about it? I'm using > Samba 3.0.23d from the Debian Etch repository.Sounds like a bug. Can you log it at bugzilla, but I need the *exact* steps to reproduce it (including client version etc. etc.). Jeremy.