<?xml version="1.0" encoding="windows-1252"?>
<node id="995775" title="Re: User Who Modified File" created="2012-09-26 10:01:43" updated="2012-09-26 10:01:43">
<type id="11">
note</type>
<author id="533863">
roboticus</author>
<data>
<field name="doctext">
&lt;p&gt;[softworkz]:&lt;/p&gt;
&lt;p&gt;On a *nix system, you can use stat to get the UID (user ID) of the file, and cross reference it with /etc/passwd to match it to the user.&lt;/p&gt;
&lt;p&gt;For a windows system, I found this link: [http://support.microsoft.com/kb/218965].  It contains some sample VB code that you should be able to translate to perl.  Though you'll have to define the DLL references &amp; such.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Update:&lt;/b&gt; I also found a bit of perl at [http://stackoverflow.com/questions/4677180/how-to-get-file-owner-name].&lt;/p&gt;
&lt;p&gt;...[roboticus]&lt;/p&gt;
&lt;p&gt;&lt;i&gt;When your only tool is a hammer, all problems look like your thumb.&lt;/i&gt;&lt;/p&gt;</field>
<field name="root_node">
995770</field>
<field name="parent_node">
995770</field>
</data>
</node>
