Samba files open as locked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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,
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://
b. Kubuntu 8.04.1 (http://
c. Kubuntu 8.10 (http://
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://
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.
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://
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.
Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e . I have classified this bug as a bug in "samba". /wiki.ubuntu. com/ReportingBu gs.
For future reference you might be interested to know that a lot of applications have bug reporting functionality built in to them. This can be accessed via the Report a Problem option in the Help menu for the application with which you are having an issue. You can learn more about this feature at https:/