Mapping DOS attribute bits to UNIX permission bits is broken in 3.3.0 - 3.3.2. This is due to open for FILE_WRITE_ATTRIBUTES not being allowed when a file is read-only (UNIX permissions). A work around is to set: ea support = yes store dos attributes = yes map system = no map archive = no map readonly = no on a system with extended attributes so the DOS attributes are stored there. Jeremy.
Created attachment 3991 [details] Patch for 3.3.2. This fixes the bug. Jeremy.
*** Bug 4325 has been marked as a duplicate of this bug. ***
Will this be included in 3.3.3? Someone reported the issue in Debian as http://bugs.debian.org/521225, marking it release critical, which blocks the package to enter Debian testing. So, I'd welcome seeing this fixed in the next upstream release, of course. -- Christian Perrier
That patch entered the v3-3-stable with http://git.samba.org/?p=samba.git;a=commit;h=8202c42e So yes, it will be in 3.3.3. Volker
Fix has been published. Closing bug report. Please reopen if still an issue.