it puts the file being read into read only mode generally if its like a office document or something like that. i run into this at work often because me and our accountant use the same files alot on our server.
when someone opens a file for editing it put a small hidden file next to it that temp holds changes (atleast on word and excel) till the file is saved and closed.
it does that depending on who opens it first.
actually after typing that... i just opened up a .bat file for editing on my server, opened the same .bat file from my pc and its currently open for editing on both machines. im guessing whoever saves changes last wins. lol
i guess it really just depends on the file type, i know you can have multiple people running one installer at the same time because that's how i do updates il go through and run an installer on several pc's at once from the same network location.
because really in the end when you open a file all it does is pulls the information and loads it into your computers memory after that you are no longer accessing the file from disk, like on a file server, say im streaming a movie from my server, and someone else starts streaming the movie in the other room, now, my movie files average 20gb not all that is going to be put in memory but it will read the file piece by piece and load it into the devices memory not only that the server itself stores the files into its memory cache as well, atleast what it can fit. so really its almost never being read by two different machines at the same time when you really think about it.
websites serve the same files to thousands of people at the same time which are just fancy file servers that use different protocols.