On Thursday 20 Oct 2011 14:22:46 Lars Müller wrote:
On Thu, Oct 20, 2011 at 02:12:48PM +0200, lynn wrote:
If I open a samba share in Dolphin:
smb://hh1/stuff
and then click to open a libreoffice file:
1. It opens a cached copy of the file from /var/tmp/kdecache-user to edit. Saving the file saves the cached copy, not the original file.
2. No lock file is created.
3. When I leave libre office it tells me the file has been changed and do I want to upload it.
Hopeless for sharing the file as anyone can work on the cached copy
It works as expected if the file is on an NFS share. If the file is open, subsequent clicks give a read only copy and you can see the dot file created as a lock.
The NFS export you have mounted. Right?
Why don't you mount the Samba share via cifs? Then the same locking mechanism as with NFS would happen.
Lars
Hi Thanks. I've tried that but unfortunately the lock file is still not created. The share in smb.conf is: [stuff] comment = Shared stuff path = /home/stuff force group = users create mask = 0660 force create mode = 0660 security mask = 0770 directory mask = 0770 force directory mode = 0770 directory security mask = 0770 read only = No Doesn't Samba use cifs when accessing the share anyway? L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org