in reply to Finding out which user modified a file on a server...

Win32::ChangeNotify will allow you to be informed when a file is modified: name, contents, attributes, ACLs etc.

And Win32::NetAdmin has a LoggedOnUsers() api.

If you're lucky enough that only one user is logged on when the file change occurs, then you have your culprit. Otherwise, you're into a guessing game.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
Re^2: Finding out which user modified a file on a server...
by biswanath_c (Beadle) on Jun 30, 2008 at 18:23 UTC

    Thanks a lot for the reply!

    but is there no way by which we can get the login id of the user who last modified a file? That sounds really wierd!


      but is there no way by which we can get the login id of the user who last modified a file?

      That information is simply not recorded by standard file systems. It might be recorded by some specialist journaling filesystems, but I do not know of any.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
      A reply falls below the community's threshold of quality. You may see it by logging in.