> Hi all,
>
> Let me first expalin the scenario in Unix Environment:
>
> lets say there are 2 programmers( A & B). "A" opens a excel document
> xyz.xls and types some data and saves it but forgets to close excel
> document at the end of the day. Mean while "B" is online later that
> evening and trying to write something on xyz.xls but when he/she opens
> the excel sheet its read only( since A opened xyz.xls). Is there any
> way B can kill the document on "A"'s machine so he/she can gain write
> access. I am thinking there should be a way in unix to solve this..
>
> Thanks alot,
> Raj
You're missing some information. How would B's machine know A's machine
has the file open? Are you using an RCS of some type? If so, that is where
you need to look.
You could implement timeouts (i.e. after 4 hours of inactivity), or allow
one user to clobber another, but the best practice is to train the users
to check in their data when they're done. Otherwise, you might be
destroying valuable data that "A" had done.
Cheers,
--
Yashy