in reply to Re^3: how can i find whether a file has been opened by some other process across a network(not in a single machine)?
in thread how can i find whether a file has been opened by some other process across a network(not in a single machine)?

Here's a scenario I have a configuration file, say config.txt. which actually gets updated by one of my programs, say update_config.pl. Now, a user can open the file and see the content of the file, config.txt while somebody else is using the update_config.pl program. Now, if the user who had kept the config.txt file opened saves while closing te file, the change made by the update_config.pl is lost. I want to avoind this situation. I hope i've painted the picture of my lake to your liking :)
  • Comment on Re^4: how can i find whether a file has been opened by some other process across a network(not in a single machine)?