[Samba] 'document has been locked for editing by another user' - medium latency / limited bw connection issues?
mueller at tropenklinik.de
Fri Mar 21 01:15:57 MDT 2014
Set the sticky bit for user or group and it will work
EDV Daniel Müller
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von Thomas Schulz
Gesendet: Donnerstag, 20. März 2014 16:15
An: elv_matth.mueller at web.de; samba at lists.samba.org
Betreff: Re: [Samba] 'document has been locked for editing by another user'
- medium latency / limited bw connection issues?
> Am Montag 17 M=C3=A4rz 2014 schrieb Bram Matthys:
> > Hi,
> > I hope some of you have been in a similar situation and can shed
> >some light on this:
> We have a similar situation here in the company.
> > I have a VPN connection to a Samba 4.1.4 server and when I use Word
> > 2010
> We have normal LAN and users are sometimes changing some config files
> of=20 the CAD system. That means changing plain text files with either
> Notepad++, gvim or Wordpad. The user can open the file but is not able
> save a changed file.
> > on a W7 client to open an existing file I often get the following
> also W7 clients running the CAD system and the editors for changing
> > error: "document.docx has been locked for editing by another user."
> Similar message
> If the user creates the file new than he can save it. But if any user
> in=20 the same UNIX primary group changed the file, the original
> creator is not=20 able to edit the same file any more. Nor is he able
> to remove or copy the=20 files. He can create new files and then he is
> able to do everything=20 (delete, copying, editing).=20
> The share that stores the files is on the AIX machine. When the user
> logs=20 into this machine he can do whatever he wants with the files
> according to=20 the UNIX file permissions. Even another user has
> changed this file he still= =20 can edit the original file, which is
> not possible when this is done on the= =20 Windos client.=20
> Samba version 3.5.14
> OS of the samba server: AIX 22.214.171.124
> OS of client: Windows 7=20
I can't say anything about the first mail, but I have an idea about the
second mail. I assume that you have directories/folders that have the group
permission set to include write. Try adding
inherit permissions = yes
to the share definition in your smb.conf file.
Applied Dynamics Intl.
schulz at adi.com
To unsubscribe from this list go to the following URL and read the
More information about the samba