Lukasz Szybalski
2008-Mar-06 16:25 UTC
[Samba] Re: cifs verses smbfs for Linux clients -time stamp issue
After mounting a windows share via cifs I have came across the same issue as described here: http://lists.samba.org/archive/samba/2006-April/119813.html "While using vim on files mounted under CIFS, when trying to write an existing file you will randomly be warned "The file has been changed since reading it!!!". Normally, this only occurs when another user accesses and saves the between your opening and writing. I can verify this is not the case and is not/was not an issue for files mounted under SMBFS. I'm assuming there is a discrepancy between what the server machine is telling the client is the last modification or access date/time. " Is there an option for cifs that fixes this issue? This was on the list back in 2006 I'm not sure why it is still the case in 2008? Ideas? Lucas -- Samba Domain on Debian http://lucasmanual.com/mywiki/SambaDomainController
Günter Kukkukk
2008-Mar-07 00:09 UTC
[Samba] Re: cifs verses smbfs for Linux clients -time stamp issue
Am Donnerstag, 6. M?rz 2008 schrieb Lukasz Szybalski:> After mounting a windows share via cifs I have came across the same > issue as described here: > > http://lists.samba.org/archive/samba/2006-April/119813.html > > "While using vim on files mounted under CIFS, when trying to write an > existing file you will randomly be warned "The file has been changed > since reading it!!!". Normally, this only occurs when another user > accesses and saves the between your opening and writing. I can verify > this is not the case and is not/was not an issue for files mounted under > SMBFS. I'm assuming there is a discrepancy between what the server > machine is telling the client is the last modification or access > date/time. > " > > Is there an option for cifs that fixes this issue? This was on the > list back in 2006 I'm not sure why it is still the case in 2008?a) what version of cifs are you running? Outcome of "modinfo cifs". b) what kind of operating system - *nix, windows or ... - is running on the remote box to which you connect via cifs? In case you're mounting a remote samba server, are the "unix extensions" enabled? Cheers, G?nter -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part. Url : http://lists.samba.org/archive/samba/attachments/20080307/e953b9b6/attachment.bin