Most filesystems only record when a file was modified (and only the last time it was at that). If you need more information like who did what you're moving into the realm of revision control and will need to go through more than just the "normal" file open/read/write/close operations in order to get changes tracked. You'd need to look into some form of SCM software such as git, mercurial, SVN, bzr (or at a minimum something like RCS, but . . . bleh), but all of those require cooperation from the user making changes and aren't going to just magically remember who's doing what to arbitrary files. If you have non-technical users the simplest option is to provide wrappers and tell the lusers to run make-change-to-foo before they make a change and done-changing-foo afterwards.

I also want to say that I think ClearCase provided a filesystem view to their repository which might behave the way you want (where it remembers who makes what changes slightly more transparently), but it's commercial software with a good sized price tag and has a reputation of being kind of a pain to manage.

Update: added note about CC.

The cake is a lie.
The cake is a lie.
The cake is a lie.


In reply to Re: Finding out which user modified a file on a server... by Fletch
in thread Finding out which user modified a file on a server... by biswanath_c

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.