** Description changed:

  After new system installation (Kubuntu 8.10) I can not overwrite files on 
network drive mounted by using fstab:
  //192.168.0.10/srv/   /mnt/server/   smbfs   
auto,rw,credentials=/etc/samba/passwords,uid=1000,gid=1000,noperm   0    0
  
  I can create new files but I can not overwrite anything (files are open
  as locked probably).
  
  Samba settings on Debian server before and after Kubuntu desktop workstation 
installation was unchanged.
  Also way of mounting samba file system is exactly the same on 8.04 and 8.10.
+ 
+ 
+ === HOW TO REPRODUCE THE ISSUE =========================================
+ 
+ 1. Install the minimal default configuration of the following distros (eg. by 
using VirtualBox):
+   a. Debian server 
(http://cdimage.debian.org/debian-cd/4.0_r5/i386/iso-cd/debian-40r5-i386-netinst.iso
 - install fileserver only)
+   b. Kubuntu 8.04.1 
(http://releases.ubuntu.com/kubuntu/hardy/kubuntu-8.04.1-desktop-i386.iso)
+   c. Kubuntu 8.10 
(http://releases.ubuntu.com/kubuntu/intrepid/kubuntu-8.10-desktop-i386.iso)
+ 
+ 2. Make full upgrade for all installations (my test was made 2008-11-21):
+ > sudo aptitude update
+ > sudo aptitude dist-upgrade
+ 
+ 3. Install necessary Samba packages for all installations:
+ > sudo aptitude install samba smbfs
+ 
+ 4. Add at the end of /etc/samba/smb.conf default file on Debian server 
installation:
+ [samba]
+ path=/srv/samba
+ browseable=yes
+ writeable=yes
+ valid users = username
+ admin users = username
+ 
+ More info e.g. here: http://www.debianhelp.co.uk/samba.htm
+ 
+ 5. Create /srv/samba/ directory and add `username` user on Debian server 
installation:
+ > sudo mkdir /srv/samba/
+ > sudo chown 777 /srv/samba/
+ > sudo smbpasswd -a username
+ > sudo smbpasswd -e username
+ 
+ 6. Create /mnt/samba/ folder on both Kubuntu installations:
+ > sudo mkdir /mnt/samba/
+ > sudo chown 777 /mnt/samba/
+ 
+ 7. Add to the end of /etc/fstab file on both Kubuntu installations:
+ //192.168.0.10/samba    /mnt/samba     smbfs      
rw,username=username,password=password,noperm      0     0
+ 
+ and change debian server IP, username and password to real correct
+ values
+ 
+ 8. Reboot all three systems
+ 
+ 9. Make tests in mounted /mnt/samba folders for both Kubuntu installations:
+ - create new text files (pass on both 8.04 and 8.10)
+ - overwrite previously created text file by using eg. nano text editor (pass 
on 8.04, failed on 8.10)
+ 
+ ===============================================================
+ 
+ 
+ It can be kernel, not smbfs package issue. The similar problem is described 
here:
+ http://user.services.openoffice.org/en/forum/viewtopic.php?f=9&t=11869
+ but the showed solution doesn't work.
+ 
+ This issue is very annoying - especially for people (like me) who use Kubuntu 
Linux
+ and mounted smbfs filesystem in work.

** Tags added: samba smbfs

-- 
Samba files open as locked
https://bugs.launchpad.net/bugs/297367
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to