Bug#387420: linux-image-2.6.17-2-k7: NFS misbehaviour when mounting dir from FreeBSD NFS server
Package: linux-image-2.6.17-2-k7
Version: 2.6.17-8
Severity: normal
Hi all,
I am running a FreeBSD NFS server (5.4-RELEASE) sharing $HOME and some
other directories to my Debian Linux clients.
Since kernel version 2.6.16 (so up to 2.6.15 everything works like
expected) I have the following problem:
When editing a file located on the NFS server, for example a text
file using vi, and that file belongs to another user but is
group-writeable (bits 77X), I get the error message "Operation not permitted."
when trying to save and the size of that file changes to 0 bytes (very dangerous !).
What does work is something like "echo bla >> file/on/nfsshare/test.txt",
so appending data to an existing file using redirect.
After trying to edit that file again using vi it ends up again in
the above error messages and the file size changes back to 0 bytes.
I can reproduce this behaviour with kernel 2.6.16, .17 and .18-rc7.
With 2.6.8 (from Sarge) - and I also tested 2.6.14 and 2.6.15 - it
works flawless.
Let me know if you need any further details.
Kind regards, Joerg.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages linux-image-2.6.17-2-k7 depends on:
ii module-init-tools 3.2.2-3 tools for managing Linux kernel mo
ii yaird [linux-initramfs-tool] 0.0.12-18 Yet Another mkInitRD
Versions of packages linux-image-2.6.17-2-k7 recommends:
ii libc6-i686 2.3.6.ds1-4 GNU C Library: Shared libraries [i
-- debconf information:
linux-image-2.6.17-2-k7/postinst/old-system-map-link-2.6.17-2-k7: true
linux-image-2.6.17-2-k7/preinst/overwriting-modules-2.6.17-2-k7: true
linux-image-2.6.17-2-k7/postinst/create-kimage-link-2.6.17-2-k7: true
linux-image-2.6.17-2-k7/preinst/failed-to-move-modules-2.6.17-2-k7:
linux-image-2.6.17-2-k7/preinst/bootloader-initrd-2.6.17-2-k7: true
linux-image-2.6.17-2-k7/preinst/abort-overwrite-2.6.17-2-k7:
linux-image-2.6.17-2-k7/postinst/old-dir-initrd-link-2.6.17-2-k7: true
linux-image-2.6.17-2-k7/preinst/abort-install-2.6.17-2-k7:
linux-image-2.6.17-2-k7/preinst/initrd-2.6.17-2-k7:
linux-image-2.6.17-2-k7/postinst/depmod-error-initrd-2.6.17-2-k7: false
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.17-2-k7/prerm/removing-running-kernel-2.6.17-2-k7: true
linux-image-2.6.17-2-k7/postinst/kimage-is-a-directory:
linux-image-2.6.17-2-k7/prerm/would-invalidate-boot-loader-2.6.17-2-k7: true
linux-image-2.6.17-2-k7/preinst/already-running-this-2.6.17-2-k7:
linux-image-2.6.17-2-k7/postinst/old-initrd-link-2.6.17-2-k7: true
linux-image-2.6.17-2-k7/postinst/depmod-error-2.6.17-2-k7: false
linux-image-2.6.17-2-k7/preinst/lilo-initrd-2.6.17-2-k7: true
linux-image-2.6.17-2-k7/postinst/bootloader-error-2.6.17-2-k7:
linux-image-2.6.17-2-k7/preinst/lilo-has-ramdisk:
linux-image-2.6.17-2-k7/postinst/bootloader-test-error-2.6.17-2-k7:
linux-image-2.6.17-2-k7/preinst/elilo-initrd-2.6.17-2-k7: true
Reply to: