After updating to sys-kernel/gentoo-sources-2.6.27-r7 I don't modify any text file on cifs shares. I can add,rename,delete file but don,t modify in openoffice,kwrite,kedit ... Kernel 2.6.26 hasn't any problem Reproducible: Always Steps to Reproduce: 1.create samba share on server and create some text file 2.mount samba share using mount.cifs on gentoo-sources-2.6.27-r7 (stable kernel) 3.open the file in openoffice or kwrite, edit and save changes in file 4.read error messages :-)
Please provide the mount info about that share (output from the `mount' command), your `emerge --info' and the permissions listed for the file in question (output from the `stat' command). dmesg output may also be of interest.
(In reply to comment #1) > Please provide the mount info about that share (output from the `mount' > command), your `emerge --info' and the permissions listed for the file in > question (output from the `stat' command). dmesg output may also be of > interest. > MY EMERGE --INFO Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r7-i686-Intel-R-_Celeron-R-_M_CPU_440_@_1.86GHz-with-glibc2.0 Timestamp of tree: Fri, 02 Jan 2009 11:45:02 +0000 distcc 3.0 i686-pc-linux-gnu [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" DISTDIR="/var/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.ynet.sk/pub" LANG="en_US" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="en sk" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib accessibility acl acpi alsa atm bash-completion berkdb bitmap-fonts branding bzip2 cairo cdr cli cracklib crypt cups dbus divx dri dvd dvdr dvdread encode ffmpeg flac fortran gdbm gif glib gnutls gpm gstreamer gtk hal iconv icq ipv6 isdnlog jabber javascript jpeg jpeg2k kde lame libsamplerate mad midi mmx mmxext mp3 mp4 mpeg mpeg2 msn mudflap musepack ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python qt qt-static qt3 qt3support qt4 quicktime readline reflection samba session sndfile snmp spl sse sse2 ssl svg sysfs syslog tcpd theora tiff tk truetype truetype-fonts type1-fonts unicode usb vcd vim-syntax vorbis wavpack win32codecs wma x264 x86 xattr xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sk" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY MOUNT No option with mount (mount -t cifs //192.168.1.1/install /mnt/I_install/ -o username=admin,password=***,uid=admin,gid=admin) OUTPUT MOUNT COMMAND //192.168.1.1/install on /mnt/I_install type cifs (rw,mand) permission of the file is now 777 I must use kernel 2.6.26-gentoo-r4 and on this kernel is no problem PS. I'm from slovakia, my english is bad.
What is the error message? Does it also occur with a more simplistic edit, e.g. nano or even touch? Can you reproduce this in gentoo-sources-2.6.28?
Could you provide some information on the version of samba-server you're connecting to? It can be found in /proc/fs/cifs/DebugData.
stano, what was the resolution here?