Bug 1685 - Samba does not retain the read-only attribute on a drag-and-drop copy
Samba does not retain the read-only attribute on a drag-and-drop copy
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.6
All All
: P3 minor
: none
Assigned To: Jeremy Allison
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-30 15:06 UTC by Marc Kaplan
Modified: 2006-04-14 14:53 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 Marc Kaplan 2004-08-30 15:06:24 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.
Comment 1 Gerald (Jerry) Carter 2005-02-17 09:57:10 UTC
mark, does this still exists in 3.0.11 ?  
Comment 2 Gerald (Jerry) Carter 2006-04-14 14:50:34 UTC
closing.  no response.
Comment 3 Marc Kaplan 2006-04-14 14:53:04 UTC
Sorry, I've had my head in the sand for a long time, I'll check it out and reopen if it still exists.