We've been running Red-hat Enterprise Linux 4.0, for in house web development work for a year. The basic setup is a shared folder (www) over samba that we use to access our web files.
When our licence expired for Redhat, we decided to go to a free alternative (Ubuntu 9.04).
However we have experienced an annoying problem, with saving files over samba. After saving the text editor asks to reload the file, as if someone else had changed it just after our original save. We never had this problem with Red-hat.
My guess is that when saving the last modified date changes, and causes the text editor to think it's been modified.
Any ideas?
** UPDATE ** 15:09 There are a couple of diffs between the smb.conf's
I've removed
; logs split per machine log file = /var/log/samba/%m.log
; max 50KB per log file, then rotate max log size = 50
and encrypt passwords = yes has changed to encrypt passwords = true
Redhat:
Arch : x86_64
Version : 3.0.33
Release : 3.7.el5
Ubuntu: 2:3.3.2-1ubuntu3.1
I was running RHEL5.1
** UPDATE ** 15:17 14/08/2009
I thought LOhit had the answer.
Turning off oplocks did stop the problem, it stopped us receiving notices that the file had been modified by someone else.