The Samba-Bugzilla – Bug 1685
Samba does not retain the read-only attribute on a drag-and-drop copy
Last modified: 2006-04-14 14:53:04 UTC
I have EAs on my system, and I'm using store dos attributes = yes in the global
section of the smb.conf.
It seems that the archive attribute on directories is the only thing that's lost
on drag-and-dropy copy. So I have the following dir structure:
a.dir #This is the dir with the Archive bit set
n.dir #This is the dir with no bits set
r.dir #This is the dir with the Read-Only bit set
s.dir #This is the dir with the System bit set
h.dir #This is the dir with the Hidden bit set
c.dir #This is the dir with the Compressed bit set
e.dir #This is the dir with the Encrypted bit set
All copy correctly on a drag-and-drop copy execpt a.dir, c.dir and e.dir. I
don't expect compressed or encrypted to work (no samba-side support for that),
but I do expect the archive bit to come over correctly.
To reproduce do the following:
1. Create a dir named a.dir on your Windows box (or a Samba server for that matter)
2. Set the Archive bit on a.dir
3. Drag-and-drop copy this directory to a Samba server that has store dos
attributes = yes
4. Notice that the Archive attribute has been lost.
mark, does this still exists in 3.0.11 ?
closing. no response.
Sorry, I've had my head in the sand for a long time, I'll check it out and reopen if it still exists.