The Samba-Bugzilla – Bug 1162
Excell updates mtime and ctime if not owner of a file, when nothing changes in the file
Last modified: 2005-08-24 10:18:38 UTC
I noticed that when I use Excel 97 to open a file which I have read/write access
granted with group privs, but I'm not the owner of the file, the mtime and ctime
of the file are updated with the first NT Create ANDX request Excel does.
This doesn't happen when I'm the owner of a file.
I'm using SuSE 9.0 with XFS filesystem.
This is my smb.conf
log level = 0
passdb backend = smbpasswd
netbios name = MEXUS
workgroup = MX.BASE
path = /home/People
readonly = no
I get the same behavior with Office 2002
whether I am the owner of teh file or not.
However if I am the owner i also get the archive
I think this is normal behavior. Have you tested against
a Windows File Server.
I reported pretty much this same problem 2 or 3 years ago, under Samba 2.x,
but I can't find the report on Bugzilla, now. I can't run any tests because
new management has us now trying to figure out how to work on a pure Windows
2003 small business server network, after 19 years using various flavors of
Unix and Linux, sigh.
If recollection serves, I think the file ownership may have also been changed
along with the mtime, even though the .xls file was not intentionally written
back. It looked as if Excel opened a copy of the file and then overwrote the
original on close.
We did not see this behavior on HP-UX based Advanced Server for Unix shares.
This was probably the biggest complaint about our Samba based shares.
we've resolved several problems with MS office applciations
in 3.0.11. Please retest against 3.0.11. Thanks.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.