DNS-323 Samba bug with 1.08 b08/b09
I have “My files”, “My Pictures”, “My Videos”, “Contacts”, and “Favorites” all located on a D-Link samba share. In order that the share works as expected in a Windows 7 environment, and in particular so that Desktop.ini files work but don’t show, I have am running samba with the following common options;
create mask = 0777
force create mode = 0000
directory mask = 0777
force directory mode 0777
and the following options on the share;
map archive = yes
map system = yes
map hidden = yes
I have had problems saving word files that are already on the share, which sounds like the bug described in the release notes for 1.08b07. So I attempted to upgrade from my current version (1.08b05) to the beta 1.08b09 from the UK D-Link site.
This has caused serious problems. It appears that the Win7/Samba combination changes file attributes when directories are scanned by Windows 7. For instance, if I open Internet Explorer 8 and look at my “Favorites” then I briefly see the links but almost immediately Windows does some sort of scan and they all disappear. A subsequent check shows that the hidden bit has been set (one of the execute bits on the Unix side) so the link no-longer shows. As soon as I switch to another sub-folder of favorites, they also disappear. I can’t remember if it was just the “hidden” attribute or if the “system” and "archive" attributes are also affected.
In any case, I reset the firmware to 1.08b05 and reset all the file attributes to 766 (or 777 for Desktop.ini, directories etc). I subsequently found 1.08b08 in this forum so tried that also – with the exact same result. I don’t know where 1.08b07 is but suspect the bug was introduced while trying to fix the word/excel issue.
I’m now back on 1.08b05 and consider that the above bug is serious enough that I couldn’t use those later releases so am still stuck with the Word saving problem. Does anyone know what is actually going on here? Does it happen with other Windows versions?
David