Comment 16 for bug 286828

Revision history for this message
flanker (flanker-gmail) wrote : Re: CIFS share broken after upgrade from 8.04 -> 8.10

Confirming Aron's recent report for Kubuntu 8.10. I'm running from the Intrepid Live CD right now, and experiencing the issue others have reported with being able to read/create, but not modify/overwrite files on the share. I've tried the nounix option (below) as well as the LinuxExtensionsEnabled = 0 option described above and they both give the same results. The server is running the packaged version of Samba3 for OpenWRT (more details below). This issue is of high importance to me (upgrade show-stopper), and I'd be happy to provide any additional information required---just let me know.

Mount parameters:
ubuntu@ubuntu:~$ tail -n 1 /etc/fstab
//myserver/media /home/ubuntu/sharetest cifs rw,uid=999,gid=999,credentials=/etc/credentialsfile,nounix 0 0

A little test demonstrating what works: create, append, remove, but not overwrite?
ubuntu@ubuntu:~$ sudo mount sharetest/
ubuntu@ubuntu:~$ cd sharetest/
ubuntu@ubuntu:~/sharetest$ echo happy > birthday
ubuntu@ubuntu:~/sharetest$ echo happier >> birthday
ubuntu@ubuntu:~/sharetest$ cat birthday
happy
happier
ubuntu@ubuntu:~/sharetest$ echo happiest > birthday
bash: birthday: Not a directory
ubuntu@ubuntu:~/sharetest$ cat birthday
happy
happier
ubuntu@ubuntu:~/sharetest$ rm birthday
ubuntu@ubuntu:~/sharetest$ ls birthday
ls: cannot access birthday: No such file or directory

Version info:
ubuntu@ubuntu:~/sharetest$ cat /proc/fs/cifs/DebugData
Display Internal CIFS Data Structures for Debugging
---------------------------------------------------
CIFS Version 1.54
Active VFS Requests: 0
Servers:
1) Name: 192.168.1.200 Domain: MYDOMAIN Mounts: 1 OS: Unix
        NOS: Samba 3.0.24 Capability: 0x80f3fd
        SMB session status: 1 TCP status: 1
        Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
MIDs:

Shares:
1) \\myserver\media Uses: 2 Type: NTFS DevInfo: 0x0 Attributes: 0xb
PathComponentMax: 255 Status: 1 type: 0

ubuntu@ubuntu:~/sharetest$ smbclient -V && uname -a
Version 3.2.3
Linux ubuntu 2.6.27-7-generic #1 SMP Fri Oct 24 06:42:44 UTC 2008 i686 GNU/Linux

Aside: Has anyone tried downgrading to/pinning an older smbfs package? Maybe the ones reported as working from 8.04?