Smartseo Blog

(Newbie question ) In Centos or Linux what happens when ..?

by on Nov.18, 2011, under Linux

Two users of the same group try to edit a file at the same time? If they were given access to read and write text files of each other. . . . what happens? I give points!

Be Sociable, Share!
:, , , ,

1 Comment for this entry

  • The EggMan

    When one user opens a file, it’s copied off the storage and into memory to be worked on by the processors and the user.

    When a “save” occurs it overwrites the copy on the storage device.

    So if another user opens that file (if the OS allows them) then the last person who saves over that file has the final word on it’s condition.

    Normally this doesn’t occur as “rights” are assigned to a user who opened the file, until they close it, then others can’t open it and make further changes.

    Some programs allow two or more users to edit the same file at the same time, the changes appear on each others screens in real time. Data base programs do this.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...