<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Checkin when a file has been moved. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/checkin-when-a-file-has-been-moved/m-p/3440506#M207243</link>
    <description>For Sridhar Bhaskarla ONLY:&lt;BR /&gt;&lt;BR /&gt;Sri, I apologize in advance for the awkward communique. I was unable to find your email. Also, I apologize for any false presumption of any relation to Alex Bhaskarla. Alex owes me $34 for a December Ebay transaction. And I am attempting to collect independently. Please contact me for further information.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Brian Barrett&lt;BR /&gt;libran3@excite.com&lt;BR /&gt;541-490-5376&lt;BR /&gt;&lt;BR /&gt;PS This message content in no way reflects the integrity of Sri. By all accounts on this message board, Sri is a generous, honest, and helpful individual.</description>
    <pubDate>Thu, 06 Jan 2005 21:30:40 GMT</pubDate>
    <dc:creator>Brian Barrett_1</dc:creator>
    <dc:date>2005-01-06T21:30:40Z</dc:date>
    <item>
      <title>Checkin when a file has been moved.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checkin-when-a-file-has-been-moved/m-p/3440502#M207239</link>
      <description>Hi there, &lt;BR /&gt; &lt;BR /&gt; Just want to find out, is there anyway I can find out when a file has been moved in my system. And how can I control the file moving in my system. THank u!!&lt;BR /&gt;&lt;BR /&gt;regards..</description>
      <pubDate>Thu, 09 Dec 2004 21:53:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checkin-when-a-file-has-been-moved/m-p/3440502#M207239</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2004-12-09T21:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Checkin when a file has been moved.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checkin-when-a-file-has-been-moved/m-p/3440503#M207240</link>
      <description>Hi Henry,&lt;BR /&gt;&lt;BR /&gt;Not quite sure if I understood your question. You check for the existence of a file (moved or deleted or renamed) using 'if'.&lt;BR /&gt;&lt;BR /&gt;if [[ -a /somewhere/file ]]&lt;BR /&gt;then&lt;BR /&gt;echo "File is there"&lt;BR /&gt;&lt;DO_SOMETHING&gt;&lt;BR /&gt;else&lt;BR /&gt;echo "File is not there"&lt;BR /&gt;&lt;DO_SOME_OTHER_THING&gt;&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;/DO_SOME_OTHER_THING&gt;&lt;/DO_SOMETHING&gt;</description>
      <pubDate>Thu, 09 Dec 2004 22:54:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checkin-when-a-file-has-been-moved/m-p/3440503#M207240</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-12-09T22:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Checkin when a file has been moved.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checkin-when-a-file-has-been-moved/m-p/3440504#M207241</link>
      <description>Hi Sri, &lt;BR /&gt;&lt;BR /&gt;  Actually I am my problem is, some files on my system were moved recently, and I am interested in finding out when these files have been moved. Is there anyway I can do this? THank u!&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Henry</description>
      <pubDate>Thu, 09 Dec 2004 23:07:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checkin-when-a-file-has-been-moved/m-p/3440504#M207241</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2004-12-09T23:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Checkin when a file has been moved.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checkin-when-a-file-has-been-moved/m-p/3440505#M207242</link>
      <description>Well.. you will need to enable "Auditing" or install HIDS software on the system. "Auditing" is very easy to configure. It has got less than 5 commands. 'audsys' 'audmon' 'audsys' 'audusr' and 'audisp'. man auditing for more information.&lt;BR /&gt;&lt;BR /&gt;Depending on your configuration, AUditing can generate a lot of data. So, you have to choose the events and system calls (audevent) carefully to monitor. You will need to enable atleast delete,moddac and modaccess events to capture the file modification information. 'audisp' can help you to read the binary data into human readable form. You will need to convert your system to trusted.&lt;BR /&gt;&lt;BR /&gt;On the other hand, if you know the file, then you can probably write a script that runs every x minutes to check the file. It's a very primitive way and you only get the coordinates of the time when the file was (re)moved. &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 09 Dec 2004 23:15:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checkin-when-a-file-has-been-moved/m-p/3440505#M207242</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-12-09T23:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Checkin when a file has been moved.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checkin-when-a-file-has-been-moved/m-p/3440506#M207243</link>
      <description>For Sridhar Bhaskarla ONLY:&lt;BR /&gt;&lt;BR /&gt;Sri, I apologize in advance for the awkward communique. I was unable to find your email. Also, I apologize for any false presumption of any relation to Alex Bhaskarla. Alex owes me $34 for a December Ebay transaction. And I am attempting to collect independently. Please contact me for further information.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Brian Barrett&lt;BR /&gt;libran3@excite.com&lt;BR /&gt;541-490-5376&lt;BR /&gt;&lt;BR /&gt;PS This message content in no way reflects the integrity of Sri. By all accounts on this message board, Sri is a generous, honest, and helpful individual.</description>
      <pubDate>Thu, 06 Jan 2005 21:30:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checkin-when-a-file-has-been-moved/m-p/3440506#M207243</guid>
      <dc:creator>Brian Barrett_1</dc:creator>
      <dc:date>2005-01-06T21:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Checkin when a file has been moved.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checkin-when-a-file-has-been-moved/m-p/3440507#M207244</link>
      <description>Basically, no, assuming as written above that it's a vanilla (normal HP-UX) system.  &lt;BR /&gt;&lt;BR /&gt;But there are some things you can do might give you some ideas.&lt;BR /&gt;&lt;BR /&gt;The most fruitful idea is to make use of your backup software.  If files are there one day and not the next, you have some idea when they were moved.  The down sides are you have to know what the files are (or else be able to "diff" two lists of files given to you by the backup software), it's time-consuming, and not very accurate. &lt;BR /&gt;&lt;BR /&gt;Another, not usually very useful--you can look at the date on the parent directory.  If the directory doesn't change much, it can at least give you an idea as to when something was moved.&lt;BR /&gt;&lt;BR /&gt;Looking at the permissions on a directory can  help you figure out who may have made a change.&lt;BR /&gt;&lt;BR /&gt;As far as controlling who can move files, standard UNIX permissions (chown, chgrp, chmod) are the usual way.  There are also extended ACLs available on, I believe, only HFS filesystems (this type of filesystem is no longer widely used).  Another way to control who can move files is to write a "wrapper" program that takes a request, decides if the request is ok, and moves a file (on the user's behalf) only if the request is ok.  I'm sure there are other things, but this is what comes to mind.&lt;BR /&gt;&lt;BR /&gt;HTH.</description>
      <pubDate>Thu, 06 Jan 2005 22:32:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checkin-when-a-file-has-been-moved/m-p/3440507#M207244</guid>
      <dc:creator>Mic V.</dc:creator>
      <dc:date>2005-01-06T22:32:10Z</dc:date>
    </item>
  </channel>
</rss>

