<br><br><div class="gmail_quote">On Wed, Sep 21, 2011 at 10:03 AM, V.Ravikumar <span dir="ltr"><<a href="mailto:ravikumar.vallabhu@gmail.com">ravikumar.vallabhu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br><br>Is it possible to write a module/driver which notifies file/directory change asynchronously along with user name(or with uid) who modified it.<br><br>inotify will do change notification but it will not provide uid who modified/created the file.<br>
<br>audit and inotify combination can work, but I'm looking for a better option than this.<br><br>Please help me. <br><br>Thanks,<br>Ravi<br>
<br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div>You can have a look at fanotify.<br><br>Refer <a href="http://lwn.net/Articles/339253/">http://lwn.net/Articles/339253/</a><br><br>Regards,<br>Rohan Puri<br>