LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2007, 10:09 PM   #1
mookiemanor
LQ Newbie
 
Registered: May 2007
Posts: 1

Rep: Reputation: 0
about file locking in open office


hi all,
first of all i want to apologize if i entered in the wrong forum. i have a problem in open office application. You see, i share my folder over samba protocol, so anybody can read and write my files. the problem arises when i open a file - say, data.doc - and my friends in LAN open the same file, but no warning that someone have already opened the file. So both of us open a same file simultanously in write mode. If i change the file and save it, then my friend edit the file and save it also, i lost what i have changed. Is there any solution for this? Thanx.
 
Old 07-23-2007, 07:34 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
http://us4.samba.org/samba/docs/man/...n/locking.html

Quote:
Strictly speaking, an SMB server should check for locks before every read and write call on a file. Unfortunately, with the way fcntl() works, this can be slow and may overstress the rpc.lockd. This is almost always unnecessary because clients are independently supposed to make locking calls before reads and writes if locking is important to them. By default, Samba only makes locking calls when explicitly asked to by a client, but if you set strict locking = yes, it will make lock checking calls on every read and write call.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help recovering database file in open office mifan Linux - Software 2 07-06-2006 05:18 PM
can't see a swf file in open office CiScOh4x0r Ubuntu 1 06-03-2005 01:16 PM
Open Office File Association quo_vadis Linux - Newbie 1 04-20-2004 07:39 AM
How to open a wps file in open office 1.1 oneiric Linux - Software 4 04-15-2004 04:07 AM
Convert Open Office file to PDF file. liguorir Linux - Software 1 01-13-2004 12:44 PM


All times are GMT -5. The time now is 06:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration