lkml.org 
[lkml]   [2002]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: file locking looks strange
On Sat, Sep 07, 2002 at 04:31:56PM +0200, Claus Rosenberger wrote:
> How i can informations about file locking for applications.
>
> if i open a document with one application on the terminalserver and try to
> open the same document in another session i can write on the second
> session. this happens for example with openoffice. how i can really lock
> the file if one application open this doc for reading and writing ?

read Documentation/locks.txt and Documentation/mandatory.txt.
You can also use advisory locking (man 2 fcntl, lockf), if it's
your own code.

-alex

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.117 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site