<?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: Strange problem with command touch in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-problem-with-command-touch/m-p/5354627#M639532</link>
    <description>&lt;P&gt;please send an "ls -la" of .setup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it might be interesting to do....&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;ls -la .setup&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;wait one minute&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;touch .setup&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;ls -la .setup&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 06 Oct 2011 13:49:29 GMT</pubDate>
    <dc:creator>donna hofmeister</dc:creator>
    <dc:date>2011-10-06T13:49:29Z</dc:date>
    <item>
      <title>Strange problem with command touch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-problem-with-command-touch/m-p/5354605#M639531</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on HP-UX B.11.11﻿ i can't create an hidden file with command touch:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;gt; touch setup
&amp;gt; rm setup
&amp;gt; touch .setup
touch: cannot change times on .setup﻿&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Why i can't create an empty hidden file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;In the example above&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;I wanted to show&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;that the&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;"touch&lt;/SPAN&gt;&lt;SPAN&gt;" works with&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;a non&lt;/SPAN&gt;&lt;SPAN&gt;-hidden&lt;/SPAN&gt;&lt;SPAN class="hps"&gt; file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2011 13:37:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-problem-with-command-touch/m-p/5354605#M639531</guid>
      <dc:creator>Peval_Stroskan</dc:creator>
      <dc:date>2011-10-06T13:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Strange problem with command touch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-problem-with-command-touch/m-p/5354627#M639532</link>
      <description>&lt;P&gt;please send an "ls -la" of .setup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it might be interesting to do....&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;ls -la .setup&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;wait one minute&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;touch .setup&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;ls -la .setup&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 06 Oct 2011 13:49:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-problem-with-command-touch/m-p/5354627#M639532</guid>
      <dc:creator>donna hofmeister</dc:creator>
      <dc:date>2011-10-06T13:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Strange problem with command touch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-problem-with-command-touch/m-p/5354635#M639533</link>
      <description>&lt;P&gt;The problem is not that you can't create the file.&amp;nbsp; The problem is that the file already exists and you do not have permissions to modify the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a file called .test as root and changed the permissions to 600 (rw-------).&amp;nbsp; I then logged in as a&amp;nbsp; non-root user and attempted to 'touch' the file again and got the same error you did.&lt;/P&gt;&lt;PRE&gt;root@c8kws:/tmp # touch .test
root@c8kws:/tmp # ll .test
-rw-r--r--   1 root       sys              0 Oct  6 08:50 .test
root@c8kws:/tmp # chmod 600 .test
﻿root@c8kws:/tmp # su - ﻿usera

usera@c8kws:/home/usera # cd /tmp
usera@c8kws:/tmp # id
uid=110(usera) gid=20(users)
﻿usera@c8kws:/tmp # ll .test
-rw-------   1 root       sys              0 Oct  6 08:50 .test
usera@c8kws:/tmp # touch .test
touch: cannot change times on .test&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;﻿On your system, do an 'ls -l .setup' to see what the current file looks like.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2011 13:56:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-problem-with-command-touch/m-p/5354635#M639533</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2011-10-06T13:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Strange problem with command touch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-problem-with-command-touch/m-p/5354731#M639534</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1238947"&gt;@Peval_Stroskan&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on HP-UX B.11.11﻿ i can't create an hidden file with command touch:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;gt; touch setup
&amp;gt; rm setup
&amp;gt; touch .setup
touch: cannot change times on .setup﻿&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Why i can't create an empty hidden file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;In the example above&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;I wanted to show&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;that the&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;"touch&lt;/SPAN&gt;&lt;SPAN&gt;" works with&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;a non&lt;/SPAN&gt;&lt;SPAN&gt;-hidden&lt;/SPAN&gt;&lt;SPAN class="hps"&gt; file.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt; In the example above I wanted to show thta the "touch" works with a non-hidden file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But you never tried varying the hidden-name!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error message "touch: cannot change times on .setup﻿﻿" tells you that '.setup' exists in the first place.&amp;nbsp; If file creation can be done, the permissions exist for 'utime(2) to be able to set the file's timestamps.&amp;nbsp; Otherwise, if the file already exists, but you don't either own the file or have write permissions to it, 'touch' (and the underlying 'utime()' system call) will fail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2011 14:56:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-problem-with-command-touch/m-p/5354731#M639534</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-10-06T14:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Strange problem with command touch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-problem-with-command-touch/m-p/5354795#M639535</link>
      <description>&lt;P&gt;&lt;SPAN class="hps"&gt;Thank you all for&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;the answers, but&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;it's my fault&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;The&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;files&lt;/SPAN&gt;&lt;SPAN&gt; .s&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;etup&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;already exists but&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;I did not see&lt;/SPAN&gt;﻿.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Sorry for the&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;disturbance&lt;/SPAN&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2011 15:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-problem-with-command-touch/m-p/5354795#M639535</guid>
      <dc:creator>Peval_Stroskan</dc:creator>
      <dc:date>2011-10-06T15:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Strange problem with command touch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-problem-with-command-touch/m-p/5354825#M639536</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1238947"&gt;@Peval_Stroskan&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Thank you all for&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;the answers, but&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;it's my fault&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;The&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;files&lt;/SPAN&gt;&lt;SPAN&gt; .s&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;etup&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;already exists but&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;I did not see&lt;/SPAN&gt;﻿.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Sorry for the&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;disturbance&lt;/SPAN&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You didn't doing any wrong or disturb anyone!&amp;nbsp; My remarks were meant to help you become a better administrator.&amp;nbsp; Standard Unix/Linux commands usually have informative error messages.&amp;nbsp; Sometime reading them for what they are trying to say is enlightening.&amp;nbsp; We all miss the obvious and we all mis-read!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2011 16:04:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-problem-with-command-touch/m-p/5354825#M639536</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-10-06T16:04:04Z</dc:date>
    </item>
  </channel>
</rss>

