Update: I rebooted one of our upgraded servers running 11.10 into a previous kernel, 2.6.38-11-server. I tested my program, viewed the file, and it appeared normal (again, same input, same program, writing data to the NAS CIFS share).
So this is definitely a bug in the 3.0 kernel that ships with 11.10, since running 2.6.38-11 on the _same_ 11.10 system works and 3.0 doesn't, with no other library or system changes. ** Changed in: ubuntu Status: New => Confirmed ** Tags added: cifs kernel-bug ** Package changed: ubuntu => linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/879228 Title: files written to CIFS share are sometimes corrupted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/879228/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs