NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Digital999's avatar
Digital999
Luminary
Jul 09, 2019

File locking

We have some legacy applications that are installed on the ReadyNas system or use data stores on the ReadyNas system.  They do not play well in a network environment and we have to make sure that only one version of the program is open at a tiome on attached workstatsions.

 

PITA -- but better that seperate systems drifting apart.

 

Is there an app or add-on that could be tagged by directory or file name that would mark the file as dirty and in use.  Attempts to access while it is dirty would be rejected. 

 

Some of our programs have such a reature, other do not. 

2 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    Digital999 wrote:

     

    Is there an app or add-on that could be tagged by directory or file name that would mark the file as dirty and in use.  Attempts to access while it is dirty would be rejected. 

     


    There is no app for this.  But I think you could easily write a PC app that checks for a lockfile on the NAS share (creating one and launching the real application if it doesn't exist). Of course it would also need to delete the lockfile when the real application exits.

     

    If I were writing it, I'd encode the PC username into the lockfile name, so people could see who was holding the file. 

    • Digital999's avatar
      Digital999
      Luminary

      Thanks for taking the time to reply.   Your answer was what I expected. 

       

      I was hoping to purchase such an app and not add it to the list of stuff the seems to grow loner and never get done. 

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More