Re: [PLUG] file locking

2009-07-23 Thread Aditya Godbole
On Wed, Jul 22, 2009 at 11:41 AM, Shridhar Daithankarghodech...@ghodechhap.net wrote: If it is application specific, e.g. word or excel, then they do locking already(but opening a word/excel file on a share could have performance problems). Recently OOo has implemented their own locking

Re: [PLUG] file locking

2009-07-23 Thread Rahul Sundaram
On 07/22/2009 10:53 AM, म.हा.सा.ग.र wrote: i will humbly accept your accusations (even when they are untrue) only if any OP ever responded the way you did to my suggestions/replies... Rest is mystery/perspective-difference That's just hand waving. Your story had nothing to do with file

Re: [PLUG] file locking

2009-07-23 Thread steve
Hi, Aditya Godbole wrote: On Wed, Jul 22, 2009 at 11:41 AM, Shridhar Daithankarghodech...@ghodechhap.net wrote: If it is application specific, e.g. word or excel, then they do locking already(but opening a word/excel file on a share could have performance problems). Recently OOo has

Re: [PLUG] file locking

2009-07-23 Thread Aditya Godbole
On Thu, Jul 23, 2009 at 7:31 PM, stevest...@lonetwin.net wrote: People have already answered your question but you are unwilling to accept the answer they provide. I have already accepted the No, you can't answer. But everytime there is a new mail in the thread which explains how to do

Re: [PLUG] file locking

2009-07-22 Thread Abhijit Bhopatkar
I am looking at a user level approach, not a programmer level approach. For a user level (requires cooperation) approach, assume you have the same app sharing files in the same folder, then this app co-operates with other instances by always calling for exclusive lock, then NOT working on

Re: [PLUG] file locking

2009-07-21 Thread steve
Hi, It's weird that you haven't got a useful answer yet[1] ! Aditya Godbole wrote: On Fri, Jul 17, 2009 at 8:48 AM, Vishal Raovishal...@gmail.com wrote: I am looking at a user level approach, not a programmer level approach. For a user level (requires cooperation) approach, assume you have

Re: [PLUG] file locking

2009-07-21 Thread Amarendra Godbole
On Mon, Jul 20, 2009 at 10:34 AM, Aditya Godboleaag.li...@gmail.com wrote: On Fri, Jul 17, 2009 at 8:48 AM, Vishal Raovishal...@gmail.com wrote: I am looking at a user level approach, not a programmer level approach. For a user level (requires cooperation) approach, assume you have the same

Re: [PLUG] file locking

2009-07-21 Thread Aditya Godbole
On Tue, Jul 21, 2009 at 4:56 PM, Amarendra Godboleamarendra.godb...@gmail.com wrote: P.S.: I am still clueless as to what you intend to do. There is a file I have shared via Samba. I want only one user to be able to open the file (for reading or writing) at a time. -aditya

Re: [PLUG] file locking

2009-07-21 Thread म . हा . सा . ग . र
On Wed, Jul 22, 2009 at 10:17 AM, Aditya Godboleaag.li...@gmail.com wrote: On Tue, Jul 21, 2009 at 4:56 PM, Amarendra Godboleamarendra.godb...@gmail.com wrote: P.S.: I am still clueless as to what you intend to do. There is a file I have shared via Samba. I want only one user to be able to

Re: [PLUG] file locking

2009-07-21 Thread म . हा . सा . ग . र
On Mon, Jul 20, 2009 at 1:19 PM, Rahul Sundaramsunda...@fedoraproject.org wrote: On 07/20/2009 09:58 AM, म.हा.सा.ग.र wrote: On Sun, Jul 19, 2009 at 9:27 PM, Rahul wrote: On 07/17/2009 10:27 AM, म.हा.सा.ग.र wrote: On Thu, Jul 16, 2009 at 2:58 PM, Aditya Godboleaag.li...@gmail.com wrote: On

Re: [PLUG] file locking

2009-07-20 Thread Aditya Godbole
On Fri, Jul 17, 2009 at 8:48 AM, Vishal Raovishal...@gmail.com wrote: I am looking at a user level approach, not a programmer level approach. For a user level (requires cooperation) approach, assume you have the same app sharing files in the same folder, then this app co-operates with other

Re: [PLUG] file locking

2009-07-20 Thread Rahul Sundaram
On 07/20/2009 09:58 AM, म.हा.सा.ग.र wrote: On Sun, Jul 19, 2009 at 9:27 PM, Rahul wrote: On 07/17/2009 10:27 AM, म.हा.सा.ग.र wrote: On Thu, Jul 16, 2009 at 2:58 PM, Aditya Godboleaag.li...@gmail.com wrote: On Tue, Jul 14, 2009 at 11:59 AM, Manas Alekarmaale...@gmail.com wrote: snipped a story

Re: [PLUG] file locking

2009-07-20 Thread Pranav Peshwe
On Sun, Jul 19, 2009 at 9:27 PM, Rahul Sundaram sunda...@fedoraproject.orgwrote: On 07/17/2009 10:27 AM, म.हा.सा.ग.र wrote: On Thu, Jul 16, 2009 at 2:58 PM, Aditya Godboleaag.li...@gmail.com wrote: On Tue, Jul 14, 2009 at 11:59 AM, Manas Alekarmaale...@gmail.com wrote: You might be

Re: [PLUG] file locking

2009-07-19 Thread Rahul Sundaram
On 07/17/2009 10:27 AM, म.हा.सा.ग.र wrote: On Thu, Jul 16, 2009 at 2:58 PM, Aditya Godboleaag.li...@gmail.com wrote: On Tue, Jul 14, 2009 at 11:59 AM, Manas Alekarmaale...@gmail.com wrote: You might be interested in mandatory file locking via setgid. Mount using option mand and then use

Re: [PLUG] file locking

2009-07-19 Thread Hari
2009/7/17 Vishal Rao vishal...@gmail.com On Thu, Jul 16, 2009 at 2:58 PM, Aditya Godbole aag.li...@gmail.com wrote: On Tue, Jul 14, 2009 at 11:59 AM, Manas Alekarmaale...@gmail.com wrote: You might be interested in mandatory file locking via setgid. Mount using option mand and then

Re: [PLUG] file locking

2009-07-18 Thread म . हा . सा . ग . र
On Thu, Jul 16, 2009 at 2:58 PM, Aditya Godboleaag.li...@gmail.com wrote: On Tue, Jul 14, 2009 at 11:59 AM, Manas Alekarmaale...@gmail.com wrote: You might be interested in mandatory file locking via setgid. Mount using option mand and then use lockf. There are pitfalls, though. I am looking

Re: [PLUG] file locking

2009-07-18 Thread Vishal Rao
On Thu, Jul 16, 2009 at 2:58 PM, Aditya Godbole aag.li...@gmail.com wrote: On Tue, Jul 14, 2009 at 11:59 AM, Manas Alekarmaale...@gmail.com wrote: You might be interested in mandatory file locking via setgid. Mount using option mand and then use lockf. There are pitfalls, though. I am

Re: [PLUG] file locking

2009-07-16 Thread Manas Alekar
What is the best way of forcing a file to be opened by only one process at a time? You might be interested in mandatory file locking via setgid. Mount using option mand and then use lockf. There are pitfalls, though. Manas ___ Pune GNU/Linux Users Group

Re: [PLUG] file locking

2009-07-16 Thread Aditya Godbole
On Tue, Jul 14, 2009 at 11:59 AM, Manas Alekarmaale...@gmail.com wrote: You might be interested in mandatory file locking via setgid. Mount using option mand and then use lockf. There are pitfalls, though. I am looking at a user level approach, not a programmer level approach. -aditya

[PLUG] file locking

2009-07-10 Thread Aditya Godbole
Hi, What is the best way of forcing a file to be opened by only one process at a time? The file is being shared over a Samba share. -aditya ___ Pune GNU/Linux Users Group Mailing List

Re: [PLUG] file locking

2009-07-10 Thread Shrinivasan T
Hi, 2009/7/10 Aditya Godbole aag.li...@gmail.com Hi, What is the best way of forcing a file to be opened by only one process at a time? The file is being shared over a Samba share. http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/locking.html This link may help you. --