<?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: file re-created? How to know? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762498#M259686</link>
    <description>May not have made it clear, but only copied file out if there was an error!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;JASH</description>
    <pubDate>Fri, 31 Mar 2006 06:46:43 GMT</pubDate>
    <dc:creator>JASH_2</dc:creator>
    <dc:date>2006-03-31T06:46:43Z</dc:date>
    <item>
      <title>file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762477#M259665</link>
      <description>Since we can not find the file creation time in HP-UX,&lt;BR /&gt;( See this:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=203044" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=203044&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=832810" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=832810&lt;/A&gt;&lt;BR /&gt;)&lt;BR /&gt;So how can we determine whether the file has been re-created or not?&lt;BR /&gt;I need to find out whether someone or process remove the file and creat it again, instead of just updating it. ( The case is that the log files keep being modified by the application, which is normal I don't need to care, but our support people may remove that log file manually, then the application will generate a new file with same name, but I need to find out this file is a NEW file, then I can reset my flag in my script file, which scan such long file every 10 minutes. )&lt;BR /&gt;&lt;BR /&gt;I tried "inode number", but it didn't work for me, because when I tried to remove a file and "touch" a new file with same name, it kept the same inode number, which I cannot use to determine whether it has been removed and new created.&lt;BR /&gt;&lt;BR /&gt;Please give me suggestion. Thanks a lot!</description>
      <pubDate>Thu, 30 Mar 2006 14:41:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762477#M259665</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2006-03-30T14:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762478#M259666</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;A "good" log file would have some indication of the time of an event beyond just the ordinal occurance of an event.  '/var/adm/syslog/syslog.log' would be one example of this.&lt;BR /&gt;&lt;BR /&gt;Why not retain the knowledge of the last record's timestamp and then report from that point forward when you begin a new process cycle?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 30 Mar 2006 14:50:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762478#M259666</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-03-30T14:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762479#M259667</link>
      <description>New file cksum will be all different than old one.. &lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Prashant</description>
      <pubDate>Thu, 30 Mar 2006 14:55:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762479#M259667</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2006-03-30T14:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762480#M259668</link>
      <description>New file cksum will be all different than old one.. &lt;BR /&gt;&lt;BR /&gt;$ cksum pz&lt;BR /&gt;1864731933 4 pz&lt;BR /&gt;$ rm pz   &lt;BR /&gt;$ &lt;BR /&gt;$ touch pz&lt;BR /&gt;$ echo 1 &amp;gt; pz&lt;BR /&gt;$ cksum pz&lt;BR /&gt;4219530715 2 pz&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Prashant</description>
      <pubDate>Thu, 30 Mar 2006 14:56:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762480#M259668</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2006-03-30T14:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762481#M259669</link>
      <description>If you want to track file operations, then could try HP's HIDS applications.&lt;BR /&gt; &lt;BR /&gt;See-&lt;BR /&gt;&lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUX-HIDS" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUX-HIDS&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Thu, 30 Mar 2006 14:56:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762481#M259669</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2006-03-30T14:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762482#M259670</link>
      <description>In your particular case, the ctime is sufficient because it would be highly unlikely the someone would chown or chmod this file --- if so, it would appear as a new file to you.&lt;BR /&gt;&lt;BR /&gt;The attached Perl script, fileage.pl, will probably be of use.&lt;BR /&gt;&lt;BR /&gt;I would store the last time in a file (if this file is not found then it is considered t new file).&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;typeset -i LASTTIME=0&lt;BR /&gt;typeset -i THISTIME=0&lt;BR /&gt;typeset TDIR=${TMPDIR:-/var/tmp}&lt;BR /&gt;typeset TSFILE=${TDIR}/logtimestamp&lt;BR /&gt;typeset LFILE=/xxx/yyy/mylog&lt;BR /&gt;itypeset -i STAT=0&lt;BR /&gt;&lt;BR /&gt;if [[ -r ${TSFILE} ]]&lt;BR /&gt;  then&lt;BR /&gt;    LASTTIME=$(cat ${TSFILE})&lt;BR /&gt;  else &lt;BR /&gt;    LASTTIME=-1&lt;BR /&gt;  fi&lt;BR /&gt;if [[ -r ${LFILE} ]]&lt;BR /&gt;  then&lt;BR /&gt;    THISTIME=$(fileage.pl -c -e)&lt;BR /&gt;    if [[ ${THISTIME} -gt ${LASTIME} ]]&lt;BR /&gt;      then&lt;BR /&gt;        echo "New file"&lt;BR /&gt;        echo "${THISTIME}" &amp;gt; ${LFILE}&lt;BR /&gt;      else&lt;BR /&gt;        echo "Old file"&lt;BR /&gt;      fi&lt;BR /&gt;  else&lt;BR /&gt;    echo "No logfile, ${LFILE}, found." &amp;gt;&amp;amp;2&lt;BR /&gt;    STAT=2&lt;BR /&gt;  fi&lt;BR /&gt;exit ${STAT}&lt;BR /&gt;&lt;BR /&gt;------------------------------------&lt;BR /&gt;You would need to make sure that the Perl script is executable and is in your PATH (as well as the perl executable itself). &lt;BR /&gt;&lt;BR /&gt;Invoke as fileage.pl -u for full usage.&lt;BR /&gt;&lt;BR /&gt;Cksum would be a rather pointless metric in this case be presumably a logfile would be undergoing nearly constant modification.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Mar 2006 15:19:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762482#M259670</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-30T15:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762483#M259671</link>
      <description>Hi James,&lt;BR /&gt; The logs are generated by third party application, which is out of our control and we can't manually modify them.&lt;BR /&gt;&lt;BR /&gt;Hi Prashant,&lt;BR /&gt; I can't use "cksum", because the logs are being modified by the application, while I just want to know whether it has been new created or not. "cksum" cannot distinguish "re-created" and "modified".&lt;BR /&gt;&lt;BR /&gt;Hi Rodney,&lt;BR /&gt; My script is to monitor and filter critical errors in the application logs, then notify our operators. I don't want HIDS to be involved because of such feature.&lt;BR /&gt;&lt;BR /&gt;Hi A.Clay,&lt;BR /&gt; Is there any command to easily get "ctime" of the file? &lt;BR /&gt;&lt;BR /&gt;Thanks a lot!</description>
      <pubDate>Thu, 30 Mar 2006 15:41:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762483#M259671</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2006-03-30T15:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762484#M259672</link>
      <description>I sometimes wonder why I bother. Did you even try the Perl script? If you had, you would have found that "fileage.pl -c -e filename" would output exactly what you need although not in a form that you would easily recognize. It outputs in epoch seconds such as 1143257372. However, these epoch seconds make the comparisons in the script very easy. If you want to to see the timestamp in a more meaningful form then&lt;BR /&gt;perl -e 'print scalar localtime(1143257732)'. You can also do an ls -lc myfile to display the change time of a file but that format is not easy to use for calculations.&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Mar 2006 15:48:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762484#M259672</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-30T15:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762485#M259673</link>
      <description>Ooops, this line:&lt;BR /&gt;echo "${THISTIME}" &amp;gt; ${LFILE} &lt;BR /&gt;should be changed to:&lt;BR /&gt;echo "${THISTIME}" &amp;gt; ${TSFILE}&lt;BR /&gt;&lt;BR /&gt;because this is where we store the timestamp when a newly detected file is found. &lt;BR /&gt;</description>
      <pubDate>Thu, 30 Mar 2006 15:51:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762485#M259673</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-30T15:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762486#M259674</link>
      <description>Hi :&lt;BR /&gt;&lt;BR /&gt;If all you want is to capture the 'ctime' of a file for tracking, do:&lt;BR /&gt;&lt;BR /&gt;# perl -le 'print 0+(stat($ARGV[0]))[10]' filename&lt;BR /&gt;&lt;BR /&gt;If the file doesn't exist, zero (0) will be returned.&lt;BR /&gt;&lt;BR /&gt;In a shell script:&lt;BR /&gt;&lt;BR /&gt;# ct=`perl -le 'print 0+(stat($ARGV[0]))[10]'`&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 30 Mar 2006 15:55:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762486#M259674</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-03-30T15:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762487#M259675</link>
      <description>Hi A.Clay,&lt;BR /&gt; I haven't tried your Perl script, I am sure it can find the "ctime". However, I wonder whether I could use only simple command to get "ctime", instead of using a long perl.&lt;BR /&gt; I tried this:&lt;BR /&gt;&lt;BR /&gt;# ls -lc abc&lt;BR /&gt;-rw-r--r--   1 root       sys             14 Mar 30 16:06 abc&lt;BR /&gt;&lt;BR /&gt;# echo "abc" &amp;gt;&amp;gt; abc&lt;BR /&gt;&lt;BR /&gt;# ls -lc abc&lt;BR /&gt;-rw-r--r--   1 root       sys             18 Mar 30 16:07 abc&lt;BR /&gt;&lt;BR /&gt;Why did the "ctime" changed?  no matter I used "&amp;gt;&amp;gt;" or "vi" to modify the file "abc".&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 30 Mar 2006 16:10:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762487#M259675</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2006-03-30T16:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762488#M259676</link>
      <description>Hi James,&lt;BR /&gt;&lt;BR /&gt;I tried your "# perl -le 'print 0+(stat($ARGV[0]))[10]' filename", but it returned different number if I modified the file, but I did NOT re-create it, why?&lt;BR /&gt;&lt;BR /&gt;# perl -le 'print 0+(stat($ARGV[0]))[10]' abc&lt;BR /&gt;1143752821&lt;BR /&gt;&lt;BR /&gt;# echo "abc" &amp;gt;&amp;gt; abc&lt;BR /&gt;&lt;BR /&gt;# perl -le 'print 0+(stat($ARGV[0]))[10]' abc&lt;BR /&gt;1143753200</description>
      <pubDate>Thu, 30 Mar 2006 16:18:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762488#M259676</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2006-03-30T16:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762489#M259677</link>
      <description>Well, I'll be horn-swaggled by a horny-toad. Much to my surprise I found this in the man pages of the write() system call:&lt;BR /&gt;&lt;BR /&gt;"Upon successful completion, where nbyte is greater than 0, write() will mark for update the st_ctime and st_mtime fields of the file."&lt;BR /&gt;&lt;BR /&gt;This sure ain't the way my AT&amp;amp;T UNIX manuals describe write() so somewhere along the line, write() has done got itself "improved". &lt;BR /&gt;&lt;BR /&gt;This means than anytime a write() is done both mtime (expected) and ctime(unexpected) are updated. &lt;BR /&gt;&lt;BR /&gt;Thus ctime is pretty useless for your purposes under HP-UX. I would fuss at HP about this but they have done gone and documented the behavior so it's my own fault for thinking no one would "improve" write()'s behavior.</description>
      <pubDate>Thu, 30 Mar 2006 17:09:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762489#M259677</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-30T17:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762490#M259678</link>
      <description>Thanks a lot A. Clay !&lt;BR /&gt;So, any suggestion to determine whether the file has been recently created? &lt;BR /&gt;Thanks again!</description>
      <pubDate>Thu, 30 Mar 2006 17:20:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762490#M259678</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2006-03-30T17:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762491#M259679</link>
      <description>Well now that I know that the write system call always updates ctime and mtime there really is no way --- and even my previous assumption assumed that no one would chmod or chown the file after it was created. The only observation I am left with is this:&lt;BR /&gt;&lt;BR /&gt;The logfile will grow over time so if current size of the file &amp;lt; stored size of the file then it is a new file. This is not fool proof. You can get the size of a file using ls -l or if you change the "[10]" in James' Perl one-liner to "[7]" that is the size of the file in bytes.&lt;BR /&gt;&lt;BR /&gt;Without knowing what the file looks likes it's diifcult to know but generally a timestamp is written into the first few lines of a logfile and you could use that when comapred against your last time stamp to determine if this is a new log.</description>
      <pubDate>Thu, 30 Mar 2006 17:35:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762491#M259679</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-30T17:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762492#M259680</link>
      <description>Here is another way. Suppose that you check to see if the setuid (04000) mode bit is set on this file. If not, do a chmod setting this bit and that will be your flag that this is a new file. The setuid bit has no significance to a data file so it should not interfere with the normal function of your application. The setgid (02000) bit implies mandatory file locking and the sticky-bit (01000) is used as a transition link flag so those could have unintended consequences when applied to a data file but the setuid bit should have no unforeseen side effects.</description>
      <pubDate>Thu, 30 Mar 2006 17:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762492#M259680</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-30T17:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762493#M259681</link>
      <description>Thanks A.Clay!&lt;BR /&gt;&lt;BR /&gt;Since the new created file may be bigger or smaller than the orignial file, so I don't think we can use file size to determine if it is a new log.&lt;BR /&gt;&lt;BR /&gt;About changing the mode bit, that's a good tip! However, is there any file "attribute" that I can use to be a better "flag"? I am looking for a flag which I can modify and read the value of it, but won't be questioned by other people.&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 30 Mar 2006 19:07:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762493#M259681</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2006-03-30T19:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762494#M259682</link>
      <description>If there had been one, I would have suggested it. The setuid bit will have zero impact. You could set one or more of the execute bits; they too have no meaning for data files but the setuid bit is the least evil.</description>
      <pubDate>Thu, 30 Mar 2006 20:31:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762494#M259682</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-30T20:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762495#M259683</link>
      <description>Thanks A.Clay!&lt;BR /&gt;Sorry, maybe I have misunderstood what you said about "setuid (04000) mode bit is set on this file".&lt;BR /&gt;I use command:&lt;BR /&gt;# chmod 04000 abc&lt;BR /&gt;then when I used "ll":&lt;BR /&gt;# ll&lt;BR /&gt;---S------   1 root       sys             12 Mar 30 20:53 abc&lt;BR /&gt;But I have to keep it like "-rw-r--r--".&lt;BR /&gt;I think I was wrong, but please tell me how to "setuid".&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;BTW, can I use the "acl" file attribute as a flag?&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Mar 2006 21:25:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762495#M259683</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2006-03-30T21:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: file re-created? How to know?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762496#M259684</link>
      <description>I said set the setuid bit; not blast the remaining mode bits. In your case that would be chmod 4644. Whatever you do, don't also set any execute bits on this file since it is owned by root. It's at least potentially possible to coerce this file into a real setuid program owned by root. It would be better still if this were a file not owned by root.</description>
      <pubDate>Thu, 30 Mar 2006 23:13:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-re-created-how-to-know/m-p/3762496#M259684</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-30T23:13:11Z</dc:date>
    </item>
  </channel>
</rss>

