Article View: bc.unix
Article #64how to find the person who last touched a file
From: Narendran K Nathan
Date: Mon, 11 Nov 2002 08:41
Date: Mon, 11 Nov 2002 08:41
63 lines
4033 bytes
4033 bytes
--------------F85C7C0D201AE649BD18B41D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Folks, I am working on solaris. I did a move command on a directory owned by another person (same user group). original : drwxr-sr-x 3 amit cdspdsn 4096 Nov 1 17:04 simulibs_raga_gate_amit/ The move worked. But when I do a ls -l on the directory the directory name is changed but the owner and the time of last update is not altered! command : mv simulibs_raga_gate_amit simulibs_raga_gate_amit_junk result : drwxr-sr-x 3 amit cdspdsn 4096 Nov 1 17:04 simulibs_raga_gate_amit_junk/ Its quite obvious that the owner is not changed. But what is confusing is that the time stamp is not changed. In this case how will anybody know the person who moved the directory to another name & when? Thanks & Regards, Naren. --------------F85C7C0D201AE649BD18B41D Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> Folks, <br> I am working on solaris. I did a move command on a directory owned by another person <br>(same user group). <p><font color="#000099">original :</font> <br><font color="#000099">drwxr-sr-x 3 amit cdspdsn 4096 Nov 1 17:04 simulibs_raga_gate_amit/</font> <p>The move worked. But when I do a ls -l on the directory the directory <br>name is changed but the owner and the time of last update is not altered! <p><font color="#000099">command :</font> <br><font color="#000099">mv simulibs_raga_gate_amit simulibs_raga_gate_amit_junk</font> <br><font color="#000099">result :</font> <br><font color="#000099">drwxr-sr-x 3 amit cdspdsn 4096 </font><font color="#990000">Nov 1 17:04</font><font color="#000099"> simulibs_raga_gate_amit_junk/</font> <p> Its quite obvious that the owner is not changed. But what is confusing is that the time stamp <br>is not changed. <font color="#990000">In this case how will anybody know the person who moved the directory to another</font> <br><font color="#990000">name & when?</font><font color="#990000"></font> <p>Thanks & Regards, <br>Naren.</html> --------------F85C7C0D201AE649BD18B41D--
Technical Details
Message-ID:
<3DCF6D2F.D99B0378@tdc.tijp.ti.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!enews.sgi.com!news.tamu.edu!news.smu.edu!news.ti.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114424,71f619258b4ecbe0,start X-Google-Attributes: gid114424,public X-Google-Thread: fefd3,71f619258b4ecbe0,start X-Google-Attributes: gidfefd3,public X-Google-Thread: ff469,71f619258b4ecbe0,start X-Google-Attributes: gidff469,public X-Google-Thread: 11035d,71f619258b4ecbe0,start X-Google-Attributes: gid11035d,public X-Google-Thread: 10158f,71f619258b4ecbe0,start X-Google-Attributes: gid10158f,public X-Google-Thread: 1020c6,71f619258b4ecbe0,start X-Google-Attributes: gid1020c6,public X-Google-Thread: 1136dd,71f619258b4ecbe0,start X-Google-Attributes: gid1136dd,public X-Google-ArrivalTime: 2002-11-11 01:14:10 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!enews.sgi.com!news.tamu.edu!news.smu.edu!news.ti.com!not-for-mail From: Narendran K Nathan <naren@tdc.tijp.ti.com> Newsgroups: bc.unix,comp.os.unix,comp.unix.admin,comp.unix.solaris,free.it.os.solaris,git.unix.solaris,alt.unix Subject: how to find the person who last touched a file Date: Mon, 11 Nov 2002 17:41:19 +0900 Organization: Texas Instruments Lines: 64 Message-ID: <3DCF6D2F.D99B0378@tdc.tijp.ti.com> NNTP-Posting-Host: pink.tdc.tijp.ti.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------F85C7C0D201AE649BD18B41D" X-Trace: tilde.itg.ti.com 1037004080 7377 134.183.20.134 (11 Nov 2002 08:41:20 GMT) X-Complaints-To: usenet@news.ti.com NNTP-Posting-Date: 11 Nov 2002 08:41:20 GMT X-Mailer: Mozilla 4.73 [en] (X11; I; SunOS 5.7 sun4u) X-Accept-Language: en