First: this is my first post on this list so any suggestions, let me know. I recently had to make the move from SMBFS to CIFS when I upgraded from Fedora 4 to 5. Changing settings in my /etc/fstab was easy and no errors come up but now I'm having an issue very similar to post I found on your list that got no response back in April: http://lists.samba.org/archive/samba/2006-April/119813.html Just as he describes in his second point, while editing a file from a CIFS mounted share, something is confusing vim as to the timestamp of the file and it thinks that the file has changed since my last writing. My first write always works without a warning but all subsequent writes produce the warning. I can guarantee that I am in fact the only person editing this file This occurs regardless of what OS owns the share. I'm experiencing the same situation on mounted shares from a Windows 2003 server as well another Linux server running Fedora 5 as well. This leads me to believe it's more a client-side issue than improperly configured shares. To a further point, I attempted to alter the date/time on the Windows 2003 server to both before and after the date/time on my client machine w/ no change in situation. I've encountered some Vim discussions/documentation alluding to an issue on Windows relating to daylight savings but, again, since this appears to be happening regardless of server OS, I've again weeded that out as a cause. This issue never occurred while using SMBFS so I can only attribute it to the new, forced, use of CIFS. Likewise, I'm hesitant to blame vim as I'm not having this problem on local files or files mounted through NFS or other means. Here's a run-down of my specs if it helps: OS: Fedora Core 5 Linux Kernel version: 2.6.17 (from 2.6.17-1.2174_FC5 RPM) Samba version: 3.0.23b (from samba.org provided RPMs) /etc/fstab: //SERVER/SHARE /PATHTO/MOUNTPOINT cifs auto,setuids,user=XXX,password=XXX,gid=celston,uid=celston,dir_mode=0775,file_mode=0664 0 0 As I mentioned, the only post I found through some Google searching was the one from above. If this has been covered before, I apologize. I appreciate any feedback. Chris Elston
I just wanted to update everyone, if it helps, that I installed 3.0.23c from source RPMs and it had no affect on the issue I'm having. Anyone have any ideas on this? Would I be better off pursuing this on the CIFS or any other mail list? Chris On Thu, 2006-08-31 at 14:54 -0400, Chris Elston wrote:> First: this is my first post on this list so any suggestions, let me > know. > > I recently had to make the move from SMBFS to CIFS when I upgraded from > Fedora 4 to 5. Changing settings in my /etc/fstab was easy and no > errors come up but now I'm having an issue very similar to post I found > on your list that got no response back in April: > > http://lists.samba.org/archive/samba/2006-April/119813.html > > Just as he describes in his second point, while editing a file from a > CIFS mounted share, something is confusing vim as to the timestamp of > the file and it thinks that the file has changed since my last writing. > My first write always works without a warning but all subsequent writes > produce the warning. I can guarantee that I am in fact the only person > editing this file > > This occurs regardless of what OS owns the share. I'm experiencing the > same situation on mounted shares from a Windows 2003 server as well > another Linux server running Fedora 5 as well. This leads me to believe > it's more a client-side issue than improperly configured shares. To a > further point, I attempted to alter the date/time on the Windows 2003 > server to both before and after the date/time on my client machine w/ no > change in situation. I've encountered some Vim > discussions/documentation alluding to an issue on Windows relating to > daylight savings but, again, since this appears to be happening > regardless of server OS, I've again weeded that out as a cause. > > This issue never occurred while using SMBFS so I can only attribute it > to the new, forced, use of CIFS. Likewise, I'm hesitant to blame vim as > I'm not having this problem on local files or files mounted through NFS > or other means. Here's a run-down of my specs if it helps: > > OS: Fedora Core 5 Linux > Kernel version: 2.6.17 (from 2.6.17-1.2174_FC5 RPM) > Samba version: 3.0.23b (from samba.org provided RPMs) > > /etc/fstab: > //SERVER/SHARE /PATHTO/MOUNTPOINT cifs > auto,setuids,user=XXX,password=XXX,gid=celston,uid=celston,dir_mode=0775,file_mode=0664 0 0 > > As I mentioned, the only post I found through some Google searching was > the one from above. If this has been covered before, I apologize. I > appreciate any feedback. > > Chris Elston > >
On 06/09/01 11:30 (GMT-0400) Chris Elston apparently typed:> On Thu, 2006-08-31 at 14:54 -0400, Chris Elston wrote:>> http://lists.samba.org/archive/samba/2006-April/119813.html>> Just as he describes in his second point, while editing a file from a >> CIFS mounted share, something is confusing vim as to the timestamp of >> the file and it thinks that the file has changed since my last writing. >> My first write always works without a warning but all subsequent writes >> produce the warning. I can guarantee that I am in fact the only person >> editing this fileMaybe this would get fixed in conjunction with fixing the known problem that CIFS mounts of win9x and OS/2 shares show the beginning-of-epoch timestamps for all directories and files. A better answer might come from the samba-technical or cifs list. Also you could search bugzilla: https://bugzilla.samba.org/ -- "Let us not become weary in doing good, for at the proper time we will reap a harvest if we do not give up." Galatians 6:9 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/