kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #132340
[Bug 25031] Re: CIFS mount does not update file size for opened (for read) files
This version has expired
** Changed in: linux (Ubuntu)
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/25031
Title:
CIFS mount does not update file size for opened (for read) files
Status in linux package in Ubuntu:
Invalid
Bug description:
Hi,
I encountered this bug with cifs under Ubuntu 5.10: if I mount a filesystem
using cifs and then modify a file on the server machine, the client side does
not update the filesize (or access time) for any opened file (for reading).
Here is a scenario (server is the machine providing the cifs share, client and
client1 are two terminals on the client machine which mounts the share):
server> ls -al test
-rw------- 1 user user 1780 Nov 4 16:09 test
client> mount //server/share /mnt/test -t cifs -o username=user
client> ls -al test
-rw------- 1 radu user 1780 2005-11-04 16:09 test
client1> tail -f test
server> echo "1234567890" >> mail/test
server> ls -al mail/test
-rw------- 1 radu user 1791 Nov 4 16:14 mail/test
client> ls -al test
-rw------- 1 radu user 1780 2005-11-04 16:09 test
As you can see, the filesize and access time are not updated for client, and
nothing shows up in the second terminal client1 (which runs tail -f test).
If ther test file is not opened (with tail -f or other program), the size and
time are updated fine. The size and time are also updated fine if the share is
mounted as smbfs, regardless if the file is opened for reading or not.
So, this is a problem of cifs only.
Thanks,
--
Radu
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/25031/+subscriptions